Skip to content

Commit ec6f078

Browse files
committed
simplfy everthing!
1 parent 6c75180 commit ec6f078

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ jobs:
7070
with:
7171
node-version: "latest"
7272

73-
- name: Set up NASM
74-
uses: ilammy/setup-nasm@v1
75-
7673
- name: Install dependencies
7774
run: npm ci
7875

@@ -173,8 +170,15 @@ jobs:
173170
mv "dist/EmulatorJS Netplay Server-${{ needs.check-version.outputs.version }}.AppImage" "dist/EmulatorJS Netplay Server App-linux-${{ needs.check-version.outputs.version }}.AppImage"
174171
mv "dist/EmulatorJS Netplay Server ${{ needs.check-version.outputs.version }}.exe" "dist/EmulatorJS Netplay Server App-windows-${{ needs.check-version.outputs.version }}.exe"
175172
mv "dist/EmulatorJS Netplay Server-${{ needs.check-version.outputs.version }}-win.zip" "dist/EmulatorJS Netplay Server-windows-${{ needs.check-version.outputs.version }}.zip"
176-
mv "dist/emulatorjs-netplay-server.exe" "dist/EmulatorJS Netplay Server-windows-${{ needs.check-version.outputs.version }}.exe"
177173
174+
- name: Generate checksum
175+
uses: jmgilman/actions-generate-checksum@v1
176+
with:
177+
patterns: |
178+
dist/*.zip
179+
dist/*.exe
180+
dist/*.AppImage
181+
178182
- name: Create Release & Make Notes & Upload Assets
179183
id: create_release
180184
env:
@@ -185,7 +189,7 @@ jobs:
185189
gh release upload "v${{ needs.check-version.outputs.version }}" dist/EmulatorJS Netplay Server App-linux-${{ needs.check-version.outputs.version }}.AppImage#EmulatorJS Netplay Server App-linux-${{ needs.check-version.outputs.version }}.AppImage
186190
gh release upload "v${{ needs.check-version.outputs.version }}" dist/EmulatorJS Netplay Server-windows-${{ needs.check-version.outputs.version }}.zip#EmulatorJS Netplay Server-windows-${{ needs.check-version.outputs.version }}.zip
187191
gh release upload "v${{ needs.check-version.outputs.version }}" dist/EmulatorJS Netplay Server App-windows-${{ needs.check-version.outputs.version }}.exe#EmulatorJS Netplay Server App-windows-${{ needs.check-version.outputs.version }}.exe
188-
gh release upload "v${{ needs.check-version.outputs.version }}" dist/EmulatorJS Netplay Server-windows-${{ needs.check-version.outputs.version }}.exe#EmulatorJS Netplay Server-windows-${{ needs.check-version.outputs.version }}.exe
192+
gh release upload "v${{ needs.check-version.outputs.version }}" checksum.txt#checksum-256.txt
189193
190194
- name: Purge artifacts
191195
uses: kolpav/purge-artifacts-action@v1

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,17 @@ License is located [here](#license)
2626

2727
Go to the releases tab and download the [latest release](https://github.com/EmulatorJS/EmulatorJS-Netplay/releases/tag/latest) for windows and open the exe file.
2828

29-
There is a GUI app version and a CLI version.
30-
* The GUI version is recommended for most users.
31-
* The CLI version is recommended for advanced users.
29+
The GUI version is recommended for most users.
3230

3331
You can also download the source code and run `npm i` to install packages and then `npm start` to start the server.
3432

3533
### Linux:
3634

3735
Go to the releases tab and download the [latest release](https://github.com/EmulatorJS/EmulatorJS-Netplay/releases/tag/latest) for linux and open the AppImage file (you may need to make it executable).
3836

39-
There is a AppImage version.
40-
* The AppImage version is recommended for most users.
41-
* You can also download the source code and run `npm i` to install packages and then `npm start` to start the server.
37+
The AppImage version is recommended for most users.
38+
39+
You can also download the source code and run `npm i` to install packages and then `npm start` to start the server.
4240

4341
### Docker:
4442

package.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88
"name": "EmulatorJS",
99
"url": "https://github.com/EmulatorJS"
1010
},
11-
"nexe": {
12-
"input": "index.js",
13-
"output": "dist/emulatorjs-netplay-server.exe",
14-
"ico": "src/img/icon.ico",
15-
"resources": [
16-
"src/**/*",
17-
"*.json",
18-
"*.js"
19-
]
20-
},
2111
"build": {
2212
"appId": "org.emulatorjs.netplay.server",
2313
"linux": {
@@ -41,7 +31,7 @@
4131
"start": "node index.js",
4232
"dev": "node index.js -d",
4333
"app": "electron .",
44-
"build-win": "electron-builder --win --publish=never && npx -y --quiet nexe --build",
34+
"build-win": "electron-builder --win --publish=never",
4535
"build-linux": "electron-builder --linux --publish=never",
4636
"build-docker": "docker build -t emulatorjs-netplay-server ."
4737
},

0 commit comments

Comments
 (0)