Skip to content

Commit acfcea3

Browse files
author
Juan Segura
committed
ZXBSInstaller v1.0.1-beta1
Install MAME and complements
1 parent aaa07f5 commit acfcea3

8 files changed

Lines changed: 613 additions & 50 deletions

File tree

ZXBSInstaller.Log/ExternalTools.json

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"LicenceUrl": "https://raw.githubusercontent.com/boriel-basic/ZXBasicStudio/refs/heads/master/LICENSE.txt",
1616
"VersionsUrl": "https://github.com/boriel-basic/ZXBasicStudio/releases/",
1717
"LocalPath": "",
18+
"Unzip": true,
19+
"CreateVerFile": false,
1820
"FullLocalPath": null,
1921
"DirectUpdate": true,
2022
"Group": "ZX Basic Studio",
@@ -36,6 +38,8 @@
3638
"LicenceUrl": "https://raw.githubusercontent.com/boriel-basic/zxbasic/refs/heads/main/LICENSE.txt",
3739
"VersionsUrl": "https://boriel.com/files/zxb/",
3840
"LocalPath": "",
41+
"Unzip": true,
42+
"CreateVerFile": false,
3943
"FullLocalPath": "C:\\ZXNext\\zxbasic\\zxbc.exe",
4044
"DirectUpdate": true,
4145
"Group": "ZX Basic Studio",
@@ -57,6 +61,8 @@
5761
"LicenceUrl": "https://raw.githubusercontent.com/boriel-basic/ZXBasicStudio/refs/heads/master/LICENSE.txt",
5862
"VersionsUrl": "https://github.com/boriel-basic/ZXBasicStudio/releases/",
5963
"LocalPath": "",
64+
"Unzip": true,
65+
"CreateVerFile": false,
6066
"FullLocalPath": null,
6167
"DirectUpdate": true,
6268
"Group": "ZX Basic Studio",
@@ -73,11 +79,13 @@
7379
2,
7480
3
7581
],
76-
"SiteUrl": "https://www.mamedev.org/",
82+
"SiteUrl": "https://github.com/mamedev/mame",
7783
"LicenseType": "GPL-2.0 / BSD-3-Clause License",
78-
"LicenceUrl": "https://www.mamedev.org/",
79-
"VersionsUrl": "",
84+
"LicenceUrl": "https://github.com/mamedev/mame?tab=License-1-ov-file",
85+
"VersionsUrl": "https://github.com/mamedev/mame/releases",
8086
"LocalPath": "",
87+
"Unzip": true,
88+
"CreateVerFile": false,
8189
"FullLocalPath": null,
8290
"DirectUpdate": true,
8391
"Group": "ZX Spectrum Next",
@@ -95,10 +103,12 @@
95103
3
96104
],
97105
"SiteUrl": "https://gitlab.com/SpectrumNext/ZX_Spectrum_Next_FPGA",
98-
"LicenseType": "GPL-3.0",
106+
"LicenseType": "GNU GPLv3",
99107
"LicenceUrl": "https://gitlab.com/SpectrumNext/ZX_Spectrum_Next_FPGA/-/raw/master/LICENSE?ref_type=heads",
100108
"VersionsUrl": "",
101-
"LocalPath": "",
109+
"LocalPath": "mame\\roms\\tbblue.zip",
110+
"Unzip": false,
111+
"CreateVerFile": true,
102112
"FullLocalPath": null,
103113
"DirectUpdate": true,
104114
"Group": "ZX Spectrum Next",
@@ -118,8 +128,10 @@
118128
"SiteUrl": "https://github.com/boriel-basic/ZXBasicStudio",
119129
"LicenseType": "MIT License",
120130
"LicenceUrl": "https://raw.githubusercontent.com/boriel-basic/ZXBasicStudio/refs/heads/master/LICENSE.txt",
121-
"VersionsUrl": "",
122-
"LocalPath": "",
131+
"VersionsUrl": "https://www.duefectucorp.com/descargas/zxbsmame/Versions.txt",
132+
"LocalPath": "mame\\plugins\\zxbs",
133+
"Unzip": true,
134+
"CreateVerFile": false,
123135
"FullLocalPath": null,
124136
"DirectUpdate": true,
125137
"Group": "ZX Spectrum Next",
@@ -136,11 +148,13 @@
136148
2,
137149
3
138150
],
139-
"SiteUrl": "https://github.com/boriel-basic/ZXBasicStudio",
151+
"SiteUrl": "https://zxnext.uk/hosted/",
140152
"LicenseType": "MIT License",
141-
"LicenceUrl": "https://raw.githubusercontent.com/boriel-basic/ZXBasicStudio/refs/heads/master/LICENSE.txt",
153+
"LicenceUrl": "https://zxnext.uk/hosted/",
142154
"VersionsUrl": "",
143155
"LocalPath": "",
156+
"Unzip": true,
157+
"CreateVerFile": false,
144158
"FullLocalPath": null,
145159
"DirectUpdate": true,
146160
"Group": "ZX Spectrum Next",
@@ -160,8 +174,10 @@
160174
"SiteUrl": "https://www.specnext.com/forum/viewtopic.php?t=2604",
161175
"LicenseType": "GPL-3.0",
162176
"LicenceUrl": "https://codeberg.org/chwe/hdfmonkey/src/branch/dev-v05x",
163-
"VersionsUrl": "https://zx.duefectucorp.com/tools/hdfmonkey/versions.txt",
177+
"VersionsUrl": "https://www.duefectucorp.com/descargas/hdfmonkey/Versions.txt",
164178
"LocalPath": "",
179+
"Unzip": true,
180+
"CreateVerFile": false,
165181
"FullLocalPath": null,
166182
"DirectUpdate": true,
167183
"Group": "ZX Spectrum Next",

ZXBSInstaller.Log/Neg/ExternalTool.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class ExternalTool
5353
/// </summary>
5454
public string VersionsUrl { get; set; }
5555
/// <summary>
56-
/// Local path where the tool will be installed without file name
56+
/// If exists Local path where the tool will be installed without file name
5757
/// </summary>
5858
public string LocalPath { get; set; }
5959
/// <summary>
@@ -65,6 +65,14 @@ public class ExternalTool
6565
/// </summary>
6666
public bool DirectUpdate { get; set; }
6767
/// <summary>
68+
/// If true, tool will be downloaded as a zip file and unzipped in the local path, otherwise it will be downloaded as is
69+
/// </summary>
70+
public bool Unzip { get; set; }
71+
/// <summary>
72+
/// True, creates a version.txt file in the installation folder
73+
/// </summary>
74+
public bool CreateVerFile { get; set; }
75+
/// <summary>
6876
/// Order in the list
6977
/// </summary>
7078
public int Order { get; set; }

ZXBSInstaller.Log/Neg/ExternalTools_Version.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ public class ExternalTools_Version
1212
/// <summary>
1313
/// Numer of the Beta version, 0 if not a beta
1414
/// </summary>
15-
public int BetaNumber { get; set; }
15+
public decimal BetaNumber { get; set; }
1616
/// <summary>
1717
/// Internal version number to order versions
1818
/// </summary>
19-
public int VersionNumber { get; set; }
19+
public decimal VersionNumber { get; set; }
2020
/// <summary>
2121
/// Download url for this version
2222
/// </summary>

0 commit comments

Comments
 (0)