Commit Graph

271 Commits

Author SHA1 Message Date
SpikeHD
b2453e7c4d fix crash on denying UAC prompt 2022-07-13 18:26:06 -07:00
SpikeHD
30476a86ad Merge main 2022-07-13 18:22:10 -07:00
SpikeHD
b903c27a22 BIG FAT CLEANUP PART ONE 2022-07-13 18:10:41 -07:00
Brian Bowman
e41a89b26c Configure and run rustfmt 2022-07-12 20:10:05 -05:00
Brian Bowman
51d00add22 Set up CI for backend 2022-07-12 20:10:05 -05:00
SpikeHD
4fc90ee333 cleanup and yarn update 2022-07-12 17:21:03 -07:00
SpikeHD
0ec8782f48 use thread properly lol 2022-07-12 17:15:32 -07:00
SpikeHD
33c67eef06 re-threadify program launching 2022-07-12 12:28:31 -07:00
Benj
a703843eed Move things to file_helpers
These were meant to be here anyway but I didn't put it here because other similar methods were in system_helpers
2022-07-12 14:28:08 +08:00
Benj
ba2a8b7fec Merge tag 'v1.0.2-alpha' into patcher-2.0
# Conflicts:
#	src-tauri/Cargo.lock
#	src-tauri/src/file_helpers.rs
#	src-tauri/src/main.rs
2022-07-12 13:37:44 +08:00
SpikeHD
4c9dad49c4 version bump 2022-07-09 23:14:48 -07:00
SpikeHD
960fcae647 Merge branch 'main' of https://github.com/Grasscutters/Cultivation 2022-07-09 22:52:04 -07:00
SpikeHD
4172ee9106 move copy_file to file_helpers 2022-07-09 22:50:41 -07:00
SpikeHD
8566e7f35e remove legacy bg folder creation 2022-07-09 22:49:37 -07:00
Brian Bowman
6f997a38d3 Remove unneeded thread spawn
As of `open` v3.0.0, this function never blocks, so we don't need to spawn a thread.
2022-07-09 07:11:31 -05:00
Brian Bowman
174a7b5163 Fix clippy lints 2022-07-09 07:11:31 -05:00
Brian Bowman
e75474fde7 Replace lazy_static with once_cell
`once_cell` is a simpler macroless alternative that will be added to the standard library.
2022-07-09 07:05:38 -05:00
Benj
99687f0550 Autopatching on game launch
Plus adding some non-functional options for later
Need to add support for Chinese version of the game
2022-07-07 01:25:54 +08:00
ayy lmao
850b282b70 Build and link mhycrypto statically 2022-07-06 19:04:27 +03:00
Benj
e0272aa38a Re-encrypt Metadata
We in the end game now bois (Time for UI, refactoring, and better functionality)
2022-07-06 19:04:27 +03:00
Benj
27d7c32a73 Key replacement 2022-07-06 19:04:27 +03:00
Benj
936c533ff8 Starting work on brand new patcher (Wooo)
Oh god my sanity is fading again. Please help. oh god. oh god. oh god. Please help me.
2022-07-06 19:04:27 +03:00
Brian Bowman
4f63e55a28 Fix build errors on Unix 2022-07-05 19:39:48 -05:00
Brian Bowman
5d2f803f3c Fix fetching commits from API 2022-07-03 17:36:45 -05:00
Brian Bowman
f6b80e1fac Fix Windows path issues 2022-07-02 02:12:12 -05:00
KingRainbow44
578d17764c Change logic for command invoking 2022-07-01 16:25:52 -04:00
KingRainbow44
b034c73c72 Change to api.grasscutter.io 2022-07-01 16:25:18 -04:00
SpikeHD
fabc2ca5cd fix uri path 2022-06-11 16:28:31 -07:00
SpikeHD
8fa4f8f0f0 Merge branch 'main' of https://github.com/Grasscutters/Cultivation into main 2022-06-11 16:26:39 -07:00
SpikeHD
b8540f0891 remove protocol enforcement 2022-06-11 15:48:33 -07:00
SpikeHD
f327a54900 different redirect approach 2022-06-11 15:19:38 -07:00
SpikeHD
09b7922f31 fix download speed for downloads without a known size 2022-06-05 22:14:09 -07:00
SpikeHD
c1b5256a5b remove empty resources in case of dry launch 2022-06-05 21:15:50 -07:00
SpikeHD
04a29ce567 Merge branch 'main' of https://github.com/Grasscutters/Cultivation into main 2022-06-05 21:12:14 -07:00
SpikeHD
c06cf874b5 fix dialog clicking 2022-06-05 21:11:53 -07:00
KingRainbow44
68f609893c Install certificate into the user's root instead of the system's root 2022-06-06 00:03:08 -04:00
KingRainbow44
0b24a2bb22 Elevation check & comment fixes 2022-06-06 00:01:13 -04:00
SpikeHD
acba392533 fix jar launching 2022-06-03 22:55:23 -07:00
SpikeHD
8d8b617198 working theming 2022-06-02 19:03:32 -07:00
SpikeHD
e3aade7955 get themes backend fn 2022-06-02 18:14:31 -07:00
SpikeHD
e71ca9ff40 validate url backgrounds 2022-06-01 19:20:43 -07:00
SpikeHD
aedd7ecf3c proper setting and getting local files 2022-06-01 18:52:32 -07:00
SpikeHD
53f42be967 move image files to local bg folder 2022-06-01 18:08:50 -07:00
SpikeHD
7d0326dcdf fix background 2022-06-01 17:44:53 -07:00
SpikeHD
ecd4bff882 get language despite admin or not 2022-06-01 17:40:24 -07:00
KingRainbow44
174a990c40 QoL changes & code formatting 2022-06-01 17:28:48 -04:00
KingRainbow44
2d77d74d3a Update UNIX command for installing certificates 2022-05-30 01:41:27 -04:00
KingRainbow44
643799441f Merge remote-tracking branch 'origin/main' 2022-05-30 01:39:32 -04:00
KingRainbow44
aa5cc334ef Fix certificate issue & rustc warning 2022-05-30 01:39:21 -04:00
SpikeHD
28c5581215 minimize/maximize on game open/close 2022-05-29 22:30:10 -07:00