Skip to content

Commit 5f59045

Browse files
committed
merge conflicts
2 parents b633035 + 21bac27 commit 5f59045

35 files changed

+2360
-374
lines changed

.github/workflows/automated-release-electron-app.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: Automated Electron App Release
33
on:
44
push:
55
branches:
6+
<<<<<<< HEAD
67
- test/release-trigger
8+
=======
9+
- main
10+
>>>>>>> main
711

812
permissions:
913
contents: write
@@ -22,7 +26,11 @@ jobs:
2226
- name: Checkout code
2327
uses: actions/checkout@v6
2428
with:
29+
<<<<<<< HEAD
2530
ref: test/release-trigger
31+
=======
32+
ref: main
33+
>>>>>>> main
2634
fetch-depth: 0
2735
token: ${{ secrets.GITHUB_TOKEN }}
2836

@@ -45,7 +53,7 @@ jobs:
4553
4654
echo "Generated version: $VERSION"
4755
echo "version=${VERSION}" >> $GITHUB_OUTPUT
48-
echo "tag_name=v${VERSION}" >> $GITHUB_OUTPUT
56+
echo "tag_name=${VERSION}" >> $GITHUB_OUTPUT
4957
5058
- name: Create and publish GitHub Release
5159
env:
@@ -55,9 +63,9 @@ jobs:
5563
VERSION="${{ steps.get_version.outputs.version }}"
5664
5765
gh release create "$TAG_NAME" \
58-
--title "v$VERSION" \
66+
--title "$VERSION" \
5967
--generate-notes \
60-
--target test/release-trigger \
68+
--target main \
6169
--draft=false
6270
6371
echo "Release created and published"
@@ -99,5 +107,5 @@ jobs:
99107
uses: ./.github/workflows/release-electron-app.yml
100108
with:
101109
tag_name: ${{ needs.auto-release.outputs.tag_name }}
102-
target: test/release-trigger
110+
target: main
103111
secrets: inherit

.github/workflows/release-electron-app.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
name: Release Electron App
22

3+
# Keep the `release` trigger option to allow manual publishing of releases if needed.
34
on:
45
release:
56
types: [published]
67
workflow_call:
78
inputs:
89
tag_name:
10+
<<<<<<< HEAD
911
description: "The release tag name (e.g., v1.0.0)"
12+
=======
13+
description: "The release tag name"
14+
>>>>>>> main
1015
required: true
1116
type: string
1217
target:
@@ -41,7 +46,7 @@ jobs:
4146
TARGET="${{ github.event.release.target_commitish }}"
4247
fi
4348
44-
echo "version=${TAG#v}" >> $GITHUB_OUTPUT
49+
echo "version=$TAG" >> $GITHUB_OUTPUT
4550
echo "target=$TARGET" >> $GITHUB_OUTPUT
4651
4752
build-windows:

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# Desktop Electron App
22

3+
## Prerequisites
4+
5+
- [Node JS](https://nodejs.org/en/download)
6+
37
## Setup
48

59
1. Copy `.env.example``.env`
610
2. Copy environment from keeper: **SSW.Yakshaver Desktop .env** (just copy YouTube client id and secret values. LLM values should be set via app itself)
711

812
## Run
9-
13+
In the root folder, run
14+
1. `npm install -g concurrently`, which will install the [`concurrently` package](https://www.npmjs.com/package/concurrently)
1015
1. `npm run setup` – install dependencies
1116
2. `npm run dev` – start the app
1217

@@ -20,6 +25,13 @@
2025

2126
## Configuration
2227

28+
- Keys are stored securely on your device using the operating system's encryption (Electron safeStorage) in the app's user data directory
29+
30+
- **Windows**: `%APPDATA%\SSW.YakShaver\yakshaver-tokens\*.enc`
31+
- **macOS**: `~/Library/Application Support/SSW.YakShaver/yakshaver-tokens/*.enc`
32+
- **Linux**: `~/.config/SSW.YakShaver/yakshaver-tokens/*.enc`
33+
34+
2335
### OpenAI API Key (User-provided)
2436

2537
You can now set your own OpenAI API key directly in the app:
@@ -30,17 +42,10 @@ You can now set your own OpenAI API key directly in the app:
3042

3143
Notes:
3244

33-
- The key is stored securely on your device using the operating system's encryption (Electron safeStorage) in the app's user data directory.
3445
- You can clear the stored key anytime from the same dialog.
3546

3647
### MCP Server Configuration
3748

38-
The MCP server configuration is automatically stored in the platform-appropriate user data directory:
39-
40-
- **Windows**: `%APPDATA%\SSW.YakShaver\mcp-servers.json`
41-
- **macOS**: `~/Library/Application Support/SSW.YakShaver/mcp-servers.json`
42-
- **Linux**: `~/.config/SSW.YakShaver/mcp-servers.json`
43-
4449
The configuration file is automatically created when you add your first MCP server through the Settings UI. The configuration persists across app restarts and updates.
4550

4651
## Running macOS Compiled App (`YakShaver.app`)

electron-builder.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ module.exports = {
1616
],
1717
extraResources: [".env", "src/ui/public/**"],
1818
asar: true,
19-
asarUnpack: ["src/ui/dist/**", "**/@ffmpeg-installer/**"],
19+
asarUnpack: [
20+
"src/ui/dist/**",
21+
"**/@ffmpeg-installer/**",
22+
"**/youtube-dl-exec/**",
23+
],
2024
afterPack: "./afterPack.js",
2125
win: {
2226
icon: "src/ui/public/icons/icon.ico",

0 commit comments

Comments
 (0)