Skip to content
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

Executable installer and GUI launcher #354

Merged
merged 56 commits into from
Feb 10, 2023

Conversation

LimesKey
Copy link
Collaborator

@LimesKey LimesKey commented Jan 13, 2023

I've created a PowerShell script and compiled it as an exe file to allow for easy use of the program. I've also added a very epic icon to the executable for an easier way to locate the file.

Features:

  • Automatic downloading of latest release of program
  • Automatic Gradlew building
  • Automatic GUI Display
  • Automatic compression and decompression of DNA asset files (coming soon)
  • Automatic Java 17 installer (coming soon)
  • Automatic Java PATH process (coming soon)
  • Config file for changing download location (coming soon)
  • And more to come...

This will only work on Windows and I have yet to test this on other computers than mine. You're free to compile the PowerShell script into an executable yourself, I used ps2exe for the compile; I used another program called "Resource Hacker" for the cool icon. Feel free to help spice up the Powershell script, I know it's not super easy to read so I'd appreciate some help.

LimesKey and others added 30 commits December 30, 2022 05:33
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
I'm having a bug with this commit, the var '$verison' is not what I expect it to be and it's causing a lot of weird stuff to happen. I could probably fix it myself if given an hour but I'm very sleepy. 

Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
```
Fetch Failed, StatusCode: Cannot index into a null array. The remote server returned an error: (406) Not Acceptable. At C:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1:30 char:56
+                 [System.Text.Encoding]::UTF8.GetBytes($match.Value)
```

Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Automatic downloading, Automatic GUI display, Automatic Gradlew building in one simple executable file
Copy link
Owner

@VerisimilitudeX VerisimilitudeX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LimesKey what did you change in dnalong.fa? I'm asking because the changes are too large for me to view on github.com.

@LimesKey
Copy link
Collaborator Author

I replaced all of it with real random gene I found online and made it much much smaller

@VerisimilitudeX
Copy link
Owner

Got it, sounds good!

LimesKey and others added 12 commits January 21, 2023 21:40
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
@LimesKey LimesKey dismissed VerisimilitudeX’s stale review January 25, 2023 18:12

Created new PR for that issue

@VerisimilitudeX VerisimilitudeX merged commit 2d1d748 into main Feb 10, 2023
@VerisimilitudeX VerisimilitudeX deleted the Executable-installer-and-GUI-Launcher branch February 10, 2023 17:49
@LimesKey
Copy link
Collaborator Author

@Verisimilitude11 oh my gosh, it feels like my birthday, I finally got merged!

@VerisimilitudeX
Copy link
Owner

lol sorry i took way too much time to review this

@VerisimilitudeX
Copy link
Owner

happy merge! 😅

@VerisimilitudeX
Copy link
Owner

@LimesKey how on earth did this get removed from the repo??? i dont remember deleting it. can you remake a PR with the newest version of the executable and stuff? thanks

@LimesKey
Copy link
Collaborator Author

LimesKey commented Jun 2, 2023

@VerisimilitudeX will do, I'll also try reformatting the code for it to make it easier to read and incorporate best coding practises into it.

@VerisimilitudeX
Copy link
Owner

sounds great, thanks @LimesKey. I'll review your PR when it comes in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants