Compare commits

..

4 Commits

Author SHA1 Message Date
zhom 7f3a3287d6 build: switch win x64 build to windows-latest 2025-06-09 19:48:30 +04:00
zhom dd9347d429 build: set proper shell for the hash step 2025-06-09 19:19:57 +04:00
zhom 615d7b8c8a build: fix windows build warnings 2025-06-09 18:56:38 +04:00
zhom 5c26ab5c33 build: windows build invalid lifetime fix 2025-06-09 18:02:48 +04:00
4 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ jobs:
target: "aarch64-unknown-linux-gnu"
pkg_target: "latest-linux-arm64"
nodecar_script: "build:linux-arm64"
- platform: "windows-11"
- platform: "windows-latest"
args: "--target x86_64-pc-windows-msvc"
arch: "x86_64"
target: "x86_64-pc-windows-msvc"
+6 -2
View File
@@ -68,7 +68,7 @@ jobs:
target: "aarch64-unknown-linux-gnu"
pkg_target: "latest-linux-arm64"
nodecar_script: "build:linux-arm64"
- platform: "windows-11"
- platform: "windows-latest"
args: "--target x86_64-pc-windows-msvc"
arch: "x86_64"
target: "x86_64-pc-windows-msvc"
@@ -138,7 +138,11 @@ jobs:
- name: Get commit hash
id: commit
run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
shell: bash
run: |
COMMIT_HASH=$(echo "${GITHUB_SHA}" | cut -c1-7)
echo "hash=${COMMIT_HASH}" >> $GITHUB_OUTPUT
echo "Generated commit hash: ${COMMIT_HASH}"
- name: Build Tauri app
uses: tauri-apps/tauri-action@v0
-1
View File
@@ -70,7 +70,6 @@ mod windows {
use winreg::RegKey;
const APP_NAME: &str = "DonutBrowser";
const APP_EXECUTABLE: &str = "DonutBrowser.exe";
const PROG_ID: &str = "DonutBrowser.HTML";
pub fn is_default_browser() -> Result<bool, String> {
+4 -4
View File
@@ -1018,16 +1018,16 @@ impl Extractor {
}
#[cfg(target_os = "windows")]
fn find_windows_executable_recursive(
&self,
dir: &Path,
fn find_windows_executable_recursive<'a>(
&'a self,
dir: &'a Path,
depth: usize,
max_depth: usize,
) -> std::pin::Pin<
Box<
dyn std::future::Future<Output = Result<PathBuf, Box<dyn std::error::Error + Send + Sync>>>
+ Send
+ '_,
+ 'a,
>,
> {
Box::pin(async move {