mirror of
https://github.com/litruv/AudioSort.git
synced 2026-07-25 03:06:02 +10:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e3f4bfc7e2 | |||
| 4d3d616574 | |||
| 93d0da3496 | |||
| 761b1574e7 | |||
| 953c22bec3 | |||
| acf4b8d8b7 | |||
| fe38e7e8f2 | |||
| e16abd7370 | |||
| 9ade1cc7dd | |||
| 7ecb65153c | |||
| 65dadc9e3f |
13
.github/workflows/build-all.yml
vendored
13
.github/workflows/build-all.yml
vendored
@@ -2,16 +2,13 @@ name: Build All Platforms
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-latest
|
runs-on: [self-hosted, windows]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -26,6 +23,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Windows
|
- name: Build Windows
|
||||||
run: npm run dist:win
|
run: npm run dist:win
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Upload Windows artifacts
|
- name: Upload Windows artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -34,7 +33,7 @@ jobs:
|
|||||||
path: release/*.exe
|
path: release/*.exe
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, linux]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -49,6 +48,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Linux
|
- name: Build Linux
|
||||||
run: npm run dist:linux
|
run: npm run dist:linux
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Upload Linux artifacts
|
- name: Upload Linux artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -58,7 +59,6 @@ jobs:
|
|||||||
release/*.AppImage
|
release/*.AppImage
|
||||||
release/*.deb
|
release/*.deb
|
||||||
release/*.rpm
|
release/*.rpm
|
||||||
release/*.snap
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: [build-windows, build-linux]
|
needs: [build-windows, build-linux]
|
||||||
@@ -83,7 +83,6 @@ jobs:
|
|||||||
*.AppImage
|
*.AppImage
|
||||||
*.deb
|
*.deb
|
||||||
*.rpm
|
*.rpm
|
||||||
*.snap
|
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
env:
|
env:
|
||||||
|
|||||||
65
.github/workflows/build-linux.yml
vendored
65
.github/workflows/build-linux.yml
vendored
@@ -1,65 +0,0 @@
|
|||||||
name: Build Linux
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-linux:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: '20'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
|
|
||||||
- name: Build Linux packages
|
|
||||||
run: npm run dist:linux
|
|
||||||
|
|
||||||
- name: Upload AppImage
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: linux-appimage
|
|
||||||
path: release/*.AppImage
|
|
||||||
|
|
||||||
- name: Upload DEB
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: linux-deb
|
|
||||||
path: release/*.deb
|
|
||||||
|
|
||||||
- name: Upload RPM
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: linux-rpm
|
|
||||||
path: release/*.rpm
|
|
||||||
|
|
||||||
- name: Upload Snap
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: linux-snap
|
|
||||||
path: release/*.snap
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
release/*.AppImage
|
|
||||||
release/*.deb
|
|
||||||
release/*.rpm
|
|
||||||
release/*.snap
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
29
.github/workflows/build.yml
vendored
29
.github/workflows/build.yml
vendored
@@ -1,29 +0,0 @@
|
|||||||
name: Build/release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
runs-on: windows-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Check out Git repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Node.js and NPM
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
|
|
||||||
- name: Build/release Electron app
|
|
||||||
uses: samuelmeuli/action-electron-builder@v1
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.github_token }}
|
|
||||||
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
args: --win
|
|
||||||
BIN
build/icon.png
Normal file
BIN
build/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 190 KiB |
18
package.json
18
package.json
@@ -2,7 +2,11 @@
|
|||||||
"name": "audio-sort",
|
"name": "audio-sort",
|
||||||
"version": "0.5.2",
|
"version": "0.5.2",
|
||||||
"description": "Electron audio sorting application with fuzzy search, tagging, library management, and advanced waveform editing with audio splitting capabilities for WAV files.",
|
"description": "Electron audio sorting application with fuzzy search, tagging, library management, and advanced waveform editing with audio splitting capabilities for WAV files.",
|
||||||
"author": "litruv",
|
"author": {
|
||||||
|
"name": "litruv",
|
||||||
|
"email": "litruv@example.com",
|
||||||
|
"url": "https://lit.ruv.wtf"
|
||||||
|
},
|
||||||
"main": "dist/main/main/index.js",
|
"main": "dist/main/main/index.js",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -72,8 +76,7 @@
|
|||||||
"target": [
|
"target": [
|
||||||
"AppImage",
|
"AppImage",
|
||||||
"deb",
|
"deb",
|
||||||
"rpm",
|
"rpm"
|
||||||
"snap"
|
|
||||||
],
|
],
|
||||||
"icon": "build/icon.png",
|
"icon": "build/icon.png",
|
||||||
"category": "AudioVideo",
|
"category": "AudioVideo",
|
||||||
@@ -83,15 +86,6 @@
|
|||||||
"audio/x-wav"
|
"audio/x-wav"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"snap": {
|
|
||||||
"summary": "Audio sorting and management application",
|
|
||||||
"plugs": [
|
|
||||||
"default",
|
|
||||||
"audio-playback",
|
|
||||||
"home",
|
|
||||||
"removable-media"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"extraResources": [
|
"extraResources": [
|
||||||
{
|
{
|
||||||
"from": "data/UCS.csv",
|
"from": "data/UCS.csv",
|
||||||
|
|||||||
Reference in New Issue
Block a user