Skip to content

Commit e4799bd

Browse files
committed
v3.0.5
1 parent 9de4eee commit e4799bd

File tree

206 files changed

+15155
-6590
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+15155
-6590
lines changed

.editorconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Editor configuration, see http://editorconfig.org
1+
22
root = true
33

44
[*]
5-
charset = utf-8
65
indent_style = tab
76
indent_size = 4
8-
insert_final_newline = true
7+
end_of_line = lf
8+
charset = utf-8
99
trim_trailing_whitespace = true
10+
insert_final_newline = true
1011

11-
[*.md]
12-
max_line_length = off
13-
trim_trailing_whitespace = false
12+
[*.ts]
13+
quote_type = double

.eslintrc.json

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: "publish"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- release
8+
9+
jobs:
10+
publish-tauri:
11+
permissions:
12+
contents: write
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- platform: "macos-latest" # for Intel based macs.
18+
args: "--target x86_64-apple-darwin"
19+
- platform: "ubuntu-22.04"
20+
args: ""
21+
- platform: "windows-latest"
22+
args: ""
23+
24+
runs-on: ${{ matrix.platform }}
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- name: install dependencies (ubuntu only)
29+
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
30+
run: |
31+
sudo apt-get update
32+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
33+
34+
- name: install pnpm
35+
uses: pnpm/action-setup@v2
36+
with:
37+
version: 10
38+
39+
- name: setup node
40+
uses: actions/setup-node@v4
41+
with:
42+
node-version: lts/*
43+
cache: "pnpm" # Set this to npm, yarn or pnpm.
44+
45+
- name: install Rust stable
46+
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
47+
with:
48+
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
49+
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
50+
51+
- name: Rust cache
52+
uses: swatinem/rust-cache@v2
53+
with:
54+
workspaces: "./src-tauri -> target"
55+
56+
- name: install frontend dependencies
57+
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
58+
run: pnpm install # change this to npm or pnpm depending on which one you use.
59+
60+
- uses: tauri-apps/tauri-action@v0
61+
env:
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
64+
with:
65+
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
66+
releaseName: "App v__VERSION__"
67+
releaseBody: |
68+
### Platform Files
69+
**Windows:** `NovelScraper_X.X.X_x64_en-US.msi`
70+
**MacOS:** `NovelScraper_X.X.X_x64.dmg`
71+
**Linux:** You can figure it out :D
72+
73+
### Release Notes
74+
releaseDraft: true
75+
prerelease: false
76+
args: ${{ matrix.args }}

.gitignore

Lines changed: 19 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,24 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
29

3-
# compiled output
4-
/dist
5-
/tmp
6-
/out-tsc
7-
/app-builds
8-
/release
9-
main.js
10-
src/**/*.js
11-
!src/karma.conf.js
12-
*.js.map
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
1314

14-
# dependencies
15-
/node_modules
16-
electron-builder.json
17-
18-
# IDEs and editors
19-
/.idea
20-
.project
21-
.classpath
22-
.c9/
23-
*.launch
24-
.settings/
25-
*.sublime-workspace
26-
27-
# IDE - VSCode
15+
# Editor directories and files
2816
.vscode/*
29-
.vscode/settings.json
30-
!.vscode/tasks.json
31-
!.vscode/launch.json
3217
!.vscode/extensions.json
33-
34-
# misc
35-
/.sass-cache
36-
/connect.lock
37-
/coverage
38-
/libpeerconnection.log
39-
npm-debug.log
40-
testem.log
41-
/typings
42-
package-lock.json
43-
44-
# e2e
45-
/e2e/*.js
46-
!/e2e/protractor.conf.js
47-
/e2e/*.map
48-
49-
# System Files
18+
.idea
5019
.DS_Store
51-
Thumbs.db
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
3+
}

.vscode/launch.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)