This repository has been archived by the owner on Jul 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from bgempire/new-launcher
- (Tried to) Fix virus warnings by rewriting the basic launcher in Rust Browser fails to download #1 - Implement basic Rust project structure Implement Rust launcher project structure #2 - Improvements on backend logic
- Loading branch information
Showing
17 changed files
with
461 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ __pycache__ | |
/data.dat | ||
/launcher/launcher.py | ||
/source/tools/Windows/ResourceHacker.ini | ||
/source/launcher/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
ifdef OS | ||
TARGET = i686-pc-windows-gnu | ||
DELETE = del /Q | ||
COPY = copy /-Y | ||
EXT = .exe | ||
END = && | ||
SOURCE_EXE = ".\target\$(TARGET)\release\bgarmor$(EXT)" | ||
TARGET_EXE = "..\..\BGArmor$(EXT)" | ||
UPX = REM | ||
else | ||
TARGET = i686-unknown-linux-gnu | ||
DELETE = rm -f | ||
COPY = cp -f | ||
EXT = | ||
END = ; | ||
SOURCE_EXE = "./target/$(TARGET)/release/bgarmor$(EXT)" | ||
TARGET_EXE = "../../BGArmor$(EXT)" | ||
UPX = upx -5 | ||
endif | ||
|
||
build: | ||
cd "./source/launcher/" $(END) \ | ||
$(DELETE) $(TARGET_EXE) $(END) \ | ||
cargo build --target=$(TARGET) --release $(END) \ | ||
$(COPY) $(SOURCE_EXE) $(TARGET_EXE) $(END) \ | ||
$(UPX) $(TARGET_EXE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.