Skip to content

Multiple Updates (draft) #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 79 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
25e3570
Multiple Updates (draft)
IceOfWraith Jun 11, 2022
95c7fe3
Add Port Settings
IceOfWraith Jun 11, 2022
3d200d1
Proton and Wine support (not complete)
IceOfWraith Jun 11, 2022
38bf2a8
Fixed HTML errors & warninig, Proton works, Wine... does not
IceOfWraith Jun 11, 2022
e46aba4
Switch compatibility to radio buttons
IceOfWraith Jun 11, 2022
1857eb7
Begin updates to new port system (Saving progress)
IceOfWraith Jun 11, 2022
0557d2d
Fix my somehow working but wrong code
IceOfWraith Jun 11, 2022
4c55dce
Add Placeholder setting values and add setting options
IceOfWraith Jun 13, 2022
3f2a29e
Bump version, further port settings, config settings additions
IceOfWraith Jun 14, 2022
4ad1a99
Working on ports
IceOfWraith Jun 16, 2022
39ff133
Port Description
IceOfWraith Jun 16, 2022
f18e5b1
Ports, ports, ports
IceOfWraith Jun 16, 2022
99e060b
Add all default settings
IceOfWraith Jun 16, 2022
66ae9b0
Does anyone even read these?
IceOfWraith Jun 17, 2022
a5983b1
Add Meta Config Manifest
IceOfWraith Jun 17, 2022
0b9723f
Clean up layout
IceOfWraith Jun 17, 2022
c1eaa0c
Add Main Game Port
IceOfWraith Jun 17, 2022
496194f
CLI Args
IceOfWraith Jun 17, 2022
38a0777
2 just because
IceOfWraith Jun 17, 2022
a2e4b72
Links should open in new tabs
IceOfWraith Jun 18, 2022
1c9b269
Begin implementing multiple update stages
IceOfWraith Jun 18, 2022
c0b86ba
More progress towards update stages
IceOfWraith Jun 20, 2022
6bc1806
Finish most update settings + Dark Mode
IceOfWraith Jun 23, 2022
556bcf8
Saving work on EnumValues
IceOfWraith Jun 24, 2022
53d18cf
More enum value changes
IceOfWraith Jul 3, 2022
dc85ba5
Create index.html
IceOfWraith Jul 23, 2022
d44773e
Delete index.html
IceOfWraith Jul 23, 2022
06b5f62
Rename default.html to index.html
IceOfWraith Jul 29, 2022
232cdff
Update generator.js
IceOfWraith Oct 4, 2022
0872a53
Update index.html
IceOfWraith Oct 4, 2022
255a7e3
fdasiobjveroa
IceOfWraith Oct 4, 2022
113b03f
Update generator.js
IceOfWraith Oct 4, 2022
46a9b04
Update generator.js
IceOfWraith Oct 5, 2022
1871a2c
Update generator.js
IceOfWraith Oct 5, 2022
fddd3d9
Credit where credit is due
IceOfWraith Oct 5, 2022
844ba93
Regex? More like REJECT! Am I right?
IceOfWraith Oct 8, 2022
f17d074
ForceDownloadPlatform was missing
IceOfWraith Oct 8, 2022
2cfcfd4
Match kvp settings up again
IceOfWraith Oct 9, 2022
785c813
More
IceOfWraith Oct 9, 2022
b8ccd45
Logic for Base/Working Directories
IceOfWraith Oct 9, 2022
51cbf43
Some layout and code cleanup
IceOfWraith Oct 9, 2022
fb22e14
Combined download zip and manifest.json creation
IceOfWraith Oct 14, 2022
3ad7acc
Update generator.js
IceOfWraith Oct 14, 2022
6091f26
Update instructions for using the config
IceOfWraith Oct 17, 2022
dc448ce
Missing line separator
IceOfWraith Oct 17, 2022
983ceac
Fix Steam Client ID
IceOfWraith Jan 16, 2023
553bf86
Revert "Fix Steam Client ID"
IceOfWraith Jan 16, 2023
b207d23
Fix Steam Client ID
IceOfWraith Jan 16, 2023
2536d05
Update generator.js
IceOfWraith Mar 6, 2023
a8a9390
Multiple Changes
IceOfWraith Mar 17, 2023
06b54a2
Rearrange Update Stages
IceOfWraith Mar 17, 2023
a64b558
Restrict to 1 of each port type except Custom
IceOfWraith Mar 17, 2023
f98e5e4
Compatibility and Display Image Source
IceOfWraith Mar 18, 2023
eafae3e
Update index.html
IceOfWraith Mar 18, 2023
6eeabf1
Hide values when no Linux
IceOfWraith Mar 19, 2023
4d1506c
Remove Startup Mode from GUI - Too much info
IceOfWraith Mar 19, 2023
f31b356
Lots of code formatting cleanup and minor tweaks
IceOfWraith Mar 19, 2023
3f9ab3c
Oops
IceOfWraith Mar 19, 2023
92df83b
Update index.html
IceOfWraith Mar 19, 2023
3c78e2a
Code cleanup
IceOfWraith Apr 22, 2023
e3a1289
Fix ports
IceOfWraith Apr 22, 2023
af7b3a9
css cleanup
IceOfWraith Apr 22, 2023
a3fcafd
Fixes
IceOfWraith Apr 22, 2023
c0e04ca
Error checking
IceOfWraith Apr 23, 2023
d72534f
Revert "css cleanup"
IceOfWraith Jun 19, 2023
7606551
Revert "Fixes"
IceOfWraith Jun 19, 2023
a0bc53c
RRRRaS
IceOfWraith Jun 19, 2023
6ea9761
Rewind to the working code
IceOfWraith Jun 29, 2023
209a4ef
Fixing deployments
IceOfWraith Jun 29, 2023
1cbc87e
Fixing still
IceOfWraith Jun 29, 2023
cd36094
favicon
IceOfWraith Jun 30, 2023
89615b3
Minor changes
IceOfWraith Jun 30, 2023
80007a1
Update generator.js
IceOfWraith Jun 30, 2023
bbb9593
Fix Update Stages
IceOfWraith Aug 30, 2023
0d74093
Update Author
IceOfWraith Aug 30, 2023
b9732d3
Update generator.js
IceOfWraith Oct 15, 2023
1525254
Fix Issues and Add KO Validate
IceOfWraith Oct 22, 2023
2283eb1
Add AppConfigId and filter Errors and isValie
IceOfWraith Dec 3, 2024
951d9cb
Fix compatibility validation on Linux
IceOfWraith Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

.vs/VSWorkspaceState.json
.vs/slnx.sqlite
.vs/GenericConfigGen/v17/.wsuo
.vs/GenericConfigGen/FileContentIndex/read.lock
.vs/GenericConfigGen/FileContentIndex/39c65145-15d2-48a1-9ecc-4f556d7ffacc.vsidx
.vs/GenericConfigGen/config/applicationhost.config
.vs/GenericConfigGen/FileContentIndex/85de9f2b-bb18-4c34-bba3-5fb4ba6dc3c9.vsidx
.vs/GenericConfigGen/FileContentIndex/2a9b0deb-b4b1-4da6-be2c-8bcb77feecf5.vsidx
*.vsidx
.vs/ProjectSettings.json
index2.html
3 changes: 3 additions & 0 deletions FileSaver.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions common.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,31 @@ if (!String.prototype.template) {
;
});
};
}

function WildcardToRegex(pattern) {
if (pattern == null) { return null; }

var escapeReplace = function (data, original, replacement) {
var searchRegex = new RegExp("\\\\+\\" + original);
var newRegex = data.replace(searchRegex, function (match) {
var count = match.length - 1;
var halfCount = Math.floor(count / 2);
var newSlashes = Array(halfCount).join("\\");
var result = newSlashes + ((halfCount % 2 === 0) ? replacement : original);
return result;
});
return newRegex;
};

var toRegex = function (pattern, starMatchesEmpty) {
var reg = "^" + pattern.replace(/([.*+?^${}()|[\]/\\])/g, "\\$1") + "$";
reg = reg.replace(/\d+/g, "\\d+"); // replace all numbers with \d+
reg = reg.replace(/\s+/g, "\\s+"); // replace all numbers with \d+
reg = reg.replace(/\\\*\\\{(\w+)\\\}/g, "(?<$1>.+)"); // replace *{} with named capture group
reg = reg.replace(/\(\?<misc>\.\+\)/g, ".*"); // replace *{} with named capture group
return reg;
};

return toRegex(pattern, false);
}
Loading