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

Automatic downloading, Automatic GUI display, Automatic Gradlew building in one simple executable file #339

Merged

Conversation

LimesKey
Copy link
Collaborator

@LimesKey LimesKey commented Dec 30, 2022

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 (coming soon Error when running the GUI #337)
  • Automatic compression and decompression of DNA asset files (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.

Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
Signed-off-by: LimesKey <85136735+LimesKey@users.noreply.github.com>
@LimesKey LimesKey added enhancement New feature or request good first issue Good for newcomers hacktoberfest-accepted labels Dec 30, 2022
@LimesKey LimesKey added this to the UX milestone Dec 30, 2022
@LimesKey LimesKey self-assigned this Dec 30, 2022
@LimesKey LimesKey marked this pull request as draft December 30, 2022 10:53
@LimesKey
Copy link
Collaborator Author

Currently, though, the GUI has not been working for me, I've opened #337 so I'm just waiting for that to get resolved.

@LimesKey LimesKey linked an issue Dec 30, 2022 that may be closed by this pull request
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>
@LimesKey LimesKey added the help wanted Extra attention is needed label Dec 31, 2022
LimesKey and others added 10 commits December 31, 2022 05:37
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>
@LimesKey
Copy link
Collaborator Author

LimesKey commented Jan 5, 2023

try {
             List<String> inputLines = Files.readAllLines(dnaLongTestInput);
             long[] expected = { 25000381, 24998528, 25000967, 25000124 };
             long[] actual = DNAAnalysis.countBasePairs(inputLines.get(0));
             assertArrayEquals(expected, actual);

the Gradle build tests are hard coded and rely on the dnalong.fa file??? I wanted to change the size of the dnalong.fa file to a smaller file because it's unnecessarily large and most people cannot open it.

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>
@LimesKey LimesKey changed the base branch from main to Executable-installer-and-GUI-Launcher January 12, 2023 13:07
@LimesKey
Copy link
Collaborator Author

LimesKey commented Jan 12, 2023

@Verisimilitude11 I created a branch for this so I could work on it a little more to ensure the code is better and will work. Can you accept the merge into the new branch?

edit: nevermind

@LimesKey LimesKey marked this pull request as ready for review January 12, 2023 13:09
@LimesKey LimesKey merged commit 0fac5d8 into VerisimilitudeX:Executable-installer-and-GUI-Launcher Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest-accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Executable file for full installation of program
2 participants