Skip to content

Commit

Permalink
Structure cleanup (#14)
Browse files Browse the repository at this point in the history
* move code to src folder

* update action

* set src as working folder for actions

* set working directory for actions

* move working directory setting

* working dir

* remove prod keys

* move images

* add building step
  • Loading branch information
trembon authored Feb 19, 2024
1 parent 1179d59 commit 28c1c34
Show file tree
Hide file tree
Showing 162 changed files with 11 additions and 15 deletions.
1 change: 1 addition & 0 deletions .github/actions/build-app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ runs:
using: composite
steps:
- name: Run bundler
working-directory: ./src
shell: bash
run: ./astilectron-bundler
3 changes: 3 additions & 0 deletions .github/actions/publish-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@ runs:
steps:
- name: Upload Windows build
uses: actions/upload-artifact@v4
working-directory: ./src
with:
name: switch-library-manager.windows-amd64
path: output/windows-amd64/*
if-no-files-found: error

- name: Upload Linux build
uses: actions/upload-artifact@v4
working-directory: ./src
with:
name: switch-library-manager.linux-amd64
path: output/linux-amd64/*
if-no-files-found: error

- name: Upload Mac build
uses: actions/upload-artifact@v4
working-directory: ./src
with:
name: switch-library-manager.darwin-amd64
path: output/darwin-amd64/*
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ runs:
go-version: '1.20'

- name: Get bundler
working-directory: ./src
shell: bash
run: go get -u github.com/asticode/go-astilectron-bundler/

- name: Install bundler
working-directory: ./src
shell: bash
run: go install github.com/asticode/go-astilectron-bundler/astilectron-bundler

- name: Move bundler
working-directory: ./src
shell: bash
run: mv $HOME/go/bin/astilectron-bundler .
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Fork of [Switch Library Manager](https://github.com/giwty/switch-library-manager
# Switch library manager
Easily manage your switch game backups

![Image description](https://raw.githubusercontent.com/trembon/switch-library-manager/master/updates_ui.png)
![Image description](https://raw.githubusercontent.com/trembon/switch-library-manager/master/.github/readme/updates_ui.png)

![Image description](https://raw.githubusercontent.com/trembon/switch-library-manager/master/dlc_ui.png)
![Image description](https://raw.githubusercontent.com/trembon/switch-library-manager/master/.github/readme/dlc_ui.png)

![Image description](https://raw.githubusercontent.com/trembon/switch-library-manager/master/cmd.png)
![Image description](https://raw.githubusercontent.com/trembon/switch-library-manager/master/.github/readme/cmd.png)

#### Features:
- Cross platform, works on Windows / Mac / Linux
Expand Down Expand Up @@ -98,6 +98,7 @@ The following template elements are supported:
## Building
- Install and setup Go
- Clone the repo: `git clone https://github.com/trembon/switch-library-manager.git`
- Move into the src folder `cd src`
- Get the bundler `go get -u github.com/asticode/go-astilectron-bundler/...`
- Install bundler `go install github.com/asticode/go-astilectron-bundler/astilectron-bundler`
- Copy bundler binary to the source folder `cd switch-library-manager` and then `mv $HOME/go/bin/astilectron-bundler .`
Expand Down
12 changes: 0 additions & 12 deletions prod.keys

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 28c1c34

Please sign in to comment.