Compare commits

...

3 Commits

Author SHA1 Message Date
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
3 changed files with 9 additions and 6 deletions
+5 -1
View File
@@ -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 {