mirror of
https://github.com/litruv/AudioSort.git
synced 2026-07-25 03:06:02 +10:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c6df01061a | |||
| 720fdf8946 | |||
| 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:
|
||||
push:
|
||||
branches: [main]
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-windows:
|
||||
runs-on: windows-latest
|
||||
runs-on: [self-hosted, windows]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -26,6 +23,8 @@ jobs:
|
||||
|
||||
- name: Build Windows
|
||||
run: npm run dist:win
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload Windows artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -34,7 +33,7 @@ jobs:
|
||||
path: release/*.exe
|
||||
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [self-hosted, linux]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -49,6 +48,8 @@ jobs:
|
||||
|
||||
- name: Build Linux
|
||||
run: npm run dist:linux
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload Linux artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -58,7 +59,6 @@ jobs:
|
||||
release/*.AppImage
|
||||
release/*.deb
|
||||
release/*.rpm
|
||||
release/*.snap
|
||||
|
||||
release:
|
||||
needs: [build-windows, build-linux]
|
||||
@@ -83,7 +83,6 @@ jobs:
|
||||
*.AppImage
|
||||
*.deb
|
||||
*.rpm
|
||||
*.snap
|
||||
draft: false
|
||||
prerelease: false
|
||||
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",
|
||||
"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.",
|
||||
"author": "litruv",
|
||||
"author": {
|
||||
"name": "litruv",
|
||||
"email": "litruv@example.com",
|
||||
"url": "https://lit.ruv.wtf"
|
||||
},
|
||||
"main": "dist/main/main/index.js",
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
@@ -72,8 +76,7 @@
|
||||
"target": [
|
||||
"AppImage",
|
||||
"deb",
|
||||
"rpm",
|
||||
"snap"
|
||||
"rpm"
|
||||
],
|
||||
"icon": "build/icon.png",
|
||||
"category": "AudioVideo",
|
||||
@@ -83,15 +86,6 @@
|
||||
"audio/x-wav"
|
||||
]
|
||||
},
|
||||
"snap": {
|
||||
"summary": "Audio sorting and management application",
|
||||
"plugs": [
|
||||
"default",
|
||||
"audio-playback",
|
||||
"home",
|
||||
"removable-media"
|
||||
]
|
||||
},
|
||||
"extraResources": [
|
||||
{
|
||||
"from": "data/UCS.csv",
|
||||
|
||||
Reference in New Issue
Block a user