1
1
mirror of https://github.com/neosubhamoy/pytubepp-helper.git synced 2026-02-04 11:22:22 +05:30

(ci/cd): ci test8

This commit is contained in:
2024-11-06 21:01:20 +05:30
Unverified
parent 2e464674cb
commit 7d0b21109c
8 changed files with 74 additions and 8 deletions

View File

@@ -12,10 +12,10 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- platform: 'macos-latest' # - platform: 'macos-latest'
args: '--target aarch64-apple-darwin' # args: '--target aarch64-apple-darwin'
- platform: 'macos-latest' # - platform: 'macos-latest'
args: '--target x86_64-apple-darwin' # args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04' - platform: 'ubuntu-22.04'
args: '' args: ''
- platform: 'windows-latest' - platform: 'windows-latest'
@@ -58,7 +58,7 @@ jobs:
with: with:
tagName: v__VERSION__ tagName: v__VERSION__
releaseName: 'pytubepp-helper-v__VERSION__' releaseName: 'pytubepp-helper-v__VERSION__'
releaseBody: 'See the assets to download this version and install.' releaseBody: CHANGELOG.md
releaseDraft: true releaseDraft: true
prerelease: false prerelease: false
args: ${{ matrix.args }} args: ${{ matrix.args }}

9
CHANGELOG.md Normal file
View File

@@ -0,0 +1,9 @@
- Major API Update (not compatible with previous versions)
- Minor fixes and improvements
> This is an Unsigned Build (Windows doesn't trust this so, it may flag this as malicious software, in that case, disable Windows SmartScreen and Defender, install it, and then re-enable them)
### ⬇️ Download Section
| Arch\OS | Windows (msi) | Windows (exe) | Linux (deb) | Linux (rpm) |
| :---- | :---- | :---- | :---- | :---- |
| x64 | [Download](https://github.com/neosubhamoy/pytubepp-helper/releases/download/v0.2.0-beta/pytubepp-helper_0.2.0_x64_en-US.msi) | [Download](https://github.com/neosubhamoy/pytubepp-helper/releases/download/v0.2.0-beta/pytubepp-helper_0.2.0_x64-setup.exe) | [Download](https://github.com/neosubhamoy/pytubepp-helper/releases/download/v0.2.0-beta/pytubepp-helper_0.2.0_amd64.deb) | [Download](https://github.com/neosubhamoy/pytubepp-helper/releases/download/v0.2.0-beta/pytubepp-helper-0.2.0-1.x86_64.rpm) |

55
src-tauri/Cargo.lock generated
View File

@@ -803,6 +803,16 @@ dependencies = [
"windows-sys 0.59.0", "windows-sys 0.59.0",
] ]
[[package]]
name = "fix-path-env"
version = "0.0.0"
source = "git+https://github.com/tauri-apps/fix-path-env-rs#0e479e2804edc1a7e5f15ece2b48ee30858c2838"
dependencies = [
"home",
"strip-ansi-escapes",
"thiserror",
]
[[package]] [[package]]
name = "flate2" name = "flate2"
version = "1.0.31" version = "1.0.31"
@@ -1311,6 +1321,15 @@ version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "home"
version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
dependencies = [
"windows-sys 0.52.0",
]
[[package]] [[package]]
name = "html5ever" name = "html5ever"
version = "0.26.0" version = "0.26.0"
@@ -2456,6 +2475,7 @@ dependencies = [
name = "pytubepp-helper" name = "pytubepp-helper"
version = "0.2.0" version = "0.2.0"
dependencies = [ dependencies = [
"fix-path-env",
"futures-util", "futures-util",
"serde", "serde",
"serde_json", "serde_json",
@@ -3215,6 +3235,15 @@ dependencies = [
"quote", "quote",
] ]
[[package]]
name = "strip-ansi-escapes"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55ff8ef943b384c414f54aefa961dd2bd853add74ec75e7ac74cf91dba62bcfa"
dependencies = [
"vte",
]
[[package]] [[package]]
name = "strsim" name = "strsim"
version = "0.11.1" version = "0.11.1"
@@ -4026,6 +4055,12 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
[[package]]
name = "utf8parse"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]] [[package]]
name = "uuid" name = "uuid"
version = "1.10.0" version = "1.10.0"
@@ -4091,6 +4126,26 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "vte"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5022b5fbf9407086c180e9557be968742d839e68346af7792b8592489732197"
dependencies = [
"utf8parse",
"vte_generate_state_changes",
]
[[package]]
name = "vte_generate_state_changes"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e369bee1b05d510a7b4ed645f5faa90619e05437111783ea5848f28d97d3c2e"
dependencies = [
"proc-macro2",
"quote",
]
[[package]] [[package]]
name = "walkdir" name = "walkdir"
version = "2.5.0" version = "2.5.0"

View File

@@ -17,6 +17,7 @@ serde_json = "1"
tokio = { version = "1.39.2", features = ["full"] } tokio = { version = "1.39.2", features = ["full"] }
tokio-tungstenite = "*" tokio-tungstenite = "*"
futures-util = "0.3.30" futures-util = "0.3.30"
fix-path-env = { git = "https://github.com/tauri-apps/fix-path-env-rs" }
[features] [features]
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!! # This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!

View File

@@ -148,6 +148,7 @@ fn download_stream(url: String, stream: String) {
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
let _ = fix_path_env::fix();
let websocket_state = Arc::new(Mutex::new(WebSocketState { let websocket_state = Arc::new(Mutex::new(WebSocketState {
sender: None, sender: None,
response_channel: ResponseChannel { sender: None }, response_channel: ResponseChannel { sender: None },

View File

@@ -118,7 +118,7 @@
}, },
"bundle": { "bundle": {
"active": true, "active": true,
"targets": "all", "targets": ["deb", "rpm"],
"identifier": "com.neosubhamoy.pytubepp.helper", "identifier": "com.neosubhamoy.pytubepp.helper",
"icon": [ "icon": [
"icons/32x32.png", "icons/32x32.png",

View File

@@ -118,7 +118,7 @@
}, },
"bundle": { "bundle": {
"active": true, "active": true,
"targets": "all", "targets": ["app", "dmg"],
"identifier": "com.neosubhamoy.pytubepp.helper", "identifier": "com.neosubhamoy.pytubepp.helper",
"icon": [ "icon": [
"icons/32x32.png", "icons/32x32.png",

View File

@@ -126,7 +126,7 @@
}, },
"bundle": { "bundle": {
"active": true, "active": true,
"targets": "all", "targets": ["msi", "nsis"],
"identifier": "com.neosubhamoy.pytubepp.helper", "identifier": "com.neosubhamoy.pytubepp.helper",
"icon": [ "icon": [
"icons/32x32.png", "icons/32x32.png",