Skip to content

Commit 285913c

Browse files
BackBack
authored andcommitted
Release DL Studio 1.0.1
1 parent b70e3ad commit 285913c

23 files changed

Lines changed: 9124 additions & 550 deletions

.github/workflows/release-installers.yml

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,44 @@
11
name: Build release installers
22

33
on:
4+
push:
5+
tags:
6+
- "v*"
47
workflow_dispatch:
58
inputs:
69
tag:
710
description: "Release tag to upload installers to"
811
required: true
9-
default: "v1.0.0"
12+
default: "v1.0.1"
1013

1114
permissions:
1215
contents: write
1316

1417
jobs:
18+
release:
19+
name: Ensure GitHub release
20+
runs-on: ubuntu-latest
21+
env:
22+
RELEASE_TAG: ${{ github.event.inputs.tag || github.ref_name }}
23+
steps:
24+
- name: Create release if needed
25+
env:
26+
GH_TOKEN: ${{ github.token }}
27+
run: |
28+
version="${RELEASE_TAG#v}"
29+
gh release view "$RELEASE_TAG" --repo "${{ github.repository }}" >/dev/null 2>&1 || \
30+
gh release create "$RELEASE_TAG" \
31+
--title "DL Studio ${version}" \
32+
--notes "DL Studio ${version}" \
33+
--latest \
34+
--repo "${{ github.repository }}"
35+
1536
mac:
1637
name: macOS arm64 installers
1738
runs-on: macos-14
39+
needs: release
40+
env:
41+
RELEASE_TAG: ${{ github.event.inputs.tag || github.ref_name }}
1842
defaults:
1943
run:
2044
working-directory: Mac
@@ -32,16 +56,20 @@ jobs:
3256
env:
3357
GH_TOKEN: ${{ github.token }}
3458
run: |
35-
gh release upload "${{ inputs.tag }}" \
36-
release-upload/DL-Editor-Mac-1.0.0-arm64.dmg \
37-
release-upload/DL-Editor-Mac-1.0.0-arm64.pkg \
38-
release-upload/DL-Editor-Mac-1.0.0-arm64.dmg.blockmap \
59+
version="$(node -p "require('./package.json').version")"
60+
gh release upload "$RELEASE_TAG" \
61+
"release-upload/DL-Studio-Mac-${version}-arm64.dmg" \
62+
"release-upload/DL-Studio-Mac-${version}-arm64.pkg" \
63+
"release-upload/DL-Studio-Mac-${version}-arm64.dmg.blockmap" \
3964
--clobber \
4065
--repo "${{ github.repository }}"
4166
4267
windows:
4368
name: Windows x64 installer
4469
runs-on: windows-latest
70+
needs: release
71+
env:
72+
RELEASE_TAG: ${{ github.event.inputs.tag || github.ref_name }}
4573
defaults:
4674
run:
4775
working-directory: Windows
@@ -58,8 +86,9 @@ jobs:
5886
env:
5987
GH_TOKEN: ${{ github.token }}
6088
run: |
61-
gh release upload "${{ inputs.tag }}" `
62-
"release/DL-Editor-Windows-Setup-1.0.0.exe" `
63-
"release/DL-Editor-Windows-Setup-1.0.0.exe.blockmap" `
89+
$version = node -p "require('./package.json').version"
90+
gh release upload "$env:RELEASE_TAG" `
91+
"release/DL-Studio-Windows-Setup-$version.exe" `
92+
"release/DL-Studio-Windows-Setup-$version.exe.blockmap" `
6493
--clobber `
6594
--repo "${{ github.repository }}"

Mac/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# DL Editor Mac
1+
# DL Studio Mac
22

33
macOS desktop video downsampler built with Electron, React, FFmpeg, FFprobe, and Apple VideoToolbox acceleration.
44

@@ -37,7 +37,7 @@ npm run dist:x64
3737
- GPU mode prioritizes `h264_videotoolbox`; CPU mode forces `libx264`.
3838
- Each processing job shows current video time, total video time, estimated remaining time, and elapsed wall time with two-digit subsecond precision.
3939
- The app shell is locked to the window height; settings and queue panes scroll independently with thin scrollbars.
40-
- Output files are saved to the selected local output folder, defaulting to the user's Movies directory under `DL Editor Outputs`.
40+
- Output files are saved to the selected local output folder, defaulting to the user's Movies directory under `DL Studio Outputs`.
4141

4242
## macOS Notes
4343

Mac/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>DL Editor</title>
6+
<title>DL Studio</title>
77
</head>
88
<body>
99
<div id="root"></div>

Mac/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Mac/package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "dl-editor-mac",
3-
"version": "1.0.0",
2+
"name": "dl-studio-mac",
3+
"version": "1.0.1",
44
"private": true,
55
"description": "Desktop batch video downsampler for macOS.",
66
"main": "src/main/main.js",
7-
"author": "DL Editor",
7+
"author": "DL Studio",
88
"license": "UNLICENSED",
99
"type": "commonjs",
1010
"scripts": {
@@ -14,7 +14,8 @@
1414
"dist:arm64": "npm run build && electron-builder --mac dmg pkg --arm64",
1515
"dist:x64": "npm run build && electron-builder --mac dmg pkg --x64",
1616
"pack": "npm run build && electron-builder --dir",
17-
"smoke": "node scripts/smoke.cjs"
17+
"smoke": "node scripts/smoke.cjs",
18+
"test:app-shell": "node scripts/app-shell.test.cjs"
1819
},
1920
"devDependencies": {
2021
"@vitejs/plugin-react": "^4.3.4",
@@ -31,8 +32,8 @@
3132
"wait-on": "^8.0.2"
3233
},
3334
"build": {
34-
"appId": "com.dleditor.mac",
35-
"productName": "DL Editor",
35+
"appId": "com.dlstudio.mac",
36+
"productName": "DL Studio",
3637
"directories": {
3738
"output": "release",
3839
"buildResources": "build"
@@ -65,13 +66,13 @@
6566
"dmg",
6667
"pkg"
6768
],
68-
"artifactName": "DL-Editor-Mac-${version}-${arch}.${ext}",
69+
"artifactName": "DL-Studio-Mac-${version}-${arch}.${ext}",
6970
"category": "public.app-category.video",
7071
"hardenedRuntime": false,
7172
"gatekeeperAssess": false
7273
},
7374
"dmg": {
74-
"artifactName": "DL-Editor-Mac-${version}-${arch}.${ext}",
75+
"artifactName": "DL-Studio-Mac-${version}-${arch}.${ext}",
7576
"contents": [
7677
{
7778
"x": 130,
@@ -86,7 +87,7 @@
8687
]
8788
},
8889
"pkg": {
89-
"artifactName": "DL-Editor-Mac-${version}-${arch}.${ext}",
90+
"artifactName": "DL-Studio-Mac-${version}-${arch}.${ext}",
9091
"installLocation": "/Applications"
9192
}
9293
}

0 commit comments

Comments
 (0)