Commit Graph

919 Commits

Author SHA1 Message Date
fnrir
3875599c5f Implement CA installation 2023-08-23 15:36:16 +02:00
fnrir
bc1df1f5e1 Make sure it's safe to run the game 2023-08-23 15:36:16 +02:00
fnrir
4ea9df5db7 Implement wipe_registry 2023-08-23 15:36:16 +02:00
fnrir
b81beb0971 Add generic version of run_un_elevated 2023-08-23 15:36:16 +02:00
fnrir
62b54f33df Add an option that allows binding port 443
Kinda everts some changes of
"Implement MongoDB autostart and GC watching".
This commit makes launching MongoDB async
2023-08-23 15:36:16 +02:00
fnrir
2c07cf90bd Implement MongoDB autostart and GC watching
Windows's implementation of enable_grasscutter_watcher works just fine.
systemd is pretty much standart for handling services.
No "sudo" or "pkexec" is needed, systemd does that automatically, but
since the user needs to authenticate, we can’t await service_status.
2023-08-23 15:36:16 +02:00
fnrir
b179ccc1f0 Add Linux version of run_jar
This might not work on macOS
2023-08-23 15:36:16 +02:00
fnrir
699eb2838e Implement patching
Quick note: Patching works, but the launcher attempts to unpatch the
game two times.
2023-08-23 15:36:16 +02:00
fnrir
3ecc4f4231 Implement launching the game on Linux 2023-08-23 15:36:16 +02:00
fnrir
ef576e36b8 Hide un_elevated toggle on Linux 2023-08-18 15:29:40 +02:00
fnrir
75f3e829d5 Removed root requirement
Also disabled install_ca_files since this causes crashes when not run as
root
2023-08-18 15:29:40 +02:00
fnrir
dbbbb6603d Fix loading icons on Linux
On Linux URLs to app resources start with tauri://localhost instead of
https://tauri.localhost
2023-08-18 15:29:40 +02:00
fnrir
74c6dd6792 Use different resource path in certain cases
This is janky, but does not require AppHandle.
2023-08-18 15:29:40 +02:00
fnrir
ee9fe9e0a7 Fix empty game install path on Linux 2023-08-18 15:29:40 +02:00
SpikeHD
09f5e74b51
Merge pull request #193 from maximuslotro/main
Add Toggle to use theme BG in options menu
2023-08-14 23:16:10 -07:00
maximuslotro
a31bc46c39
Add Toggle to use theme BG in options menu 2023-08-15 00:15:22 -05:00
SpikeHD
a9b1fa0130
Merge pull request #188 from Grasscutters/dependabot/npm_and_yarn/semver-6.3.1
Bump semver from 6.3.0 to 6.3.1
2023-07-20 21:17:47 -07:00
SpikeHD
7d92586210
Merge pull request #187 from Grasscutters/dependabot/npm_and_yarn/tough-cookie-4.1.3
Bump tough-cookie from 4.0.0 to 4.1.3
2023-07-20 21:17:35 -07:00
SpikeHD
9f73883d59
Merge pull request #189 from Grasscutters/dependabot/npm_and_yarn/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4
2023-07-20 21:17:22 -07:00
dependabot[bot]
3fee55a30b
Bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 18:38:52 +00:00
dependabot[bot]
98661d1b2c
Bump semver from 6.3.0 to 6.3.1
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 09:46:11 +00:00
dependabot[bot]
ab22379694
Bump tough-cookie from 4.0.0 to 4.1.3
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 17:59:49 +00:00
SpikeHD
e4647a5811
Merge pull request #182 from Grasscutters/dependabot/cargo/src-tauri/openssl-0.10.55
Bump openssl from 0.10.52 to 0.10.55 in /src-tauri
2023-07-01 18:52:55 -07:00
SpikeHD
d94dbcf384
Merge pull request #186 from fnr1r/slashes
QOL and path changes
2023-06-28 11:49:20 -07:00
fnrir
b56ad4e465 Increase read_file verbosity
Changed the error message that gets printed when
Culti tries to read a file, but fails.
2023-06-27 10:51:35 +02:00
fnrir
b9b0929668 Fix trying to open nonexistant config
If you try to open settings, or change the
"Toggle Encryption" toggle, while GC's server
config does not exist it no longer throws an
error message.
2023-06-27 10:50:55 +02:00
fnrir
3ba467d03b Fix paths
Replaced backslashes in paths with slashes. I did
not touch function that do the same with paths.
Those can be removed manually.
Also dataDir() returns a path that ends with a
slash so I got rid of duplicated slashes.
2023-06-27 10:35:37 +02:00
SpikeHD
882bad370f
Merge pull request #185 from fnr1r/lang-pl
Add Polish translation
2023-06-26 15:04:33 -07:00
fnrir
3eec0e4a11 Add Polish translation 2023-06-26 11:40:19 +02:00
SpikeHD
9798f6d0d3
Merge pull request #184 from NotThorny/Redirect-more-2
Update more redirecting
2023-06-25 14:35:40 -07:00
SpikeHD
a76f90c1d8
Merge pull request #183 from iidoki/main
Add italian language support
2023-06-25 13:31:16 -07:00
Thoronium
f1ecb1aab0 Fix handling 2023-06-25 14:25:14 -06:00
Thoronium
7c9b2f7335 Auto redirect more when setting other game 2023-06-25 14:25:13 -06:00
Thoronium
38436472e3 Skip patching on other anime games 2023-06-25 14:25:13 -06:00
Thoronium
db6f23dbad Update intercepts 2023-06-25 14:25:13 -06:00
laura o3o
d9dfb6ac4e
Update it.json 2023-06-25 21:55:00 +02:00
laura o3o
981cb3180e
Update it.json 2023-06-25 21:44:15 +02:00
laura o3o
d5187cb5d6
Create it.json 2023-06-25 21:34:51 +02:00
dependabot[bot]
5a1e7d105c
Bump openssl from 0.10.52 to 0.10.55 in /src-tauri
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.52 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.52...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 22:57:02 +00:00
SpikeHD
26d7ac2b11
Merge pull request #181 from NotThorny/Redirect-More
Redirect more domains
2023-06-18 20:36:47 -07:00
Thoronium
6b07ccf1b5 Add CLI flag 2023-06-18 21:31:08 -06:00
Thoronium
f6856431bd Update langs pt.2 2023-06-18 16:46:03 -06:00
Thoronium
f7e33d5035 Update langs 2023-06-18 16:29:33 -06:00
Thoronium
190adb1d52 Redirect more domains 2023-06-18 16:10:22 -06:00
SpikeHD
742a24df11
Merge pull request #180 from NotThorny/DL-Menu
Fix downloads menu
2023-06-09 15:06:37 -07:00
Thoronium
06e48e06b6 Remove unstable dl
Add back questing aio
2023-06-09 15:30:19 -06:00
SpikeHD
87b97c6824 fix: version bumps 2023-06-06 18:13:53 -07:00
SpikeHD
8b779bcb6b
Merge pull request #179 from NotThorny/Res-Api
Update resources link
2023-06-06 18:10:10 -07:00
SpikeHD
fc7fb739e7 if I keep forgetting to re-set this I am going to explode 2023-06-06 18:08:28 -07:00
SpikeHD
044be37e9e fix: proper language export and restyle of game path notification 2023-06-06 18:07:54 -07:00