Bump version

This commit is contained in:
DecDuck
2025-11-15 09:09:58 +11:00
parent a2d1a989e0
commit 84f4210479
5 changed files with 13 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "view", "name": "view",
"private": true, "private": true,
"version": "0.3.3", "version": "0.3.4",
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "nuxt generate", "build": "nuxt generate",

2
src-tauri/Cargo.lock generated
View File

@ -1339,7 +1339,7 @@ dependencies = [
[[package]] [[package]]
name = "drop-app" name = "drop-app"
version = "0.3.3" version = "0.3.4"
dependencies = [ dependencies = [
"atomic-instant-full", "atomic-instant-full",
"bitcode", "bitcode",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "drop-app" name = "drop-app"
version = "0.3.3" version = "0.3.4"
description = "The client application for the open-source, self-hosted game distribution platform Drop" description = "The client application for the open-source, self-hosted game distribution platform Drop"
authors = ["Drop OSS"] authors = ["Drop OSS"]
edition = "2024" edition = "2024"

View File

@ -39,7 +39,8 @@ impl DropWriter<File> {
.write(true) .write(true)
.create(true) .create(true)
.truncate(false) .truncate(false)
.open(&path)?; .open(&path)
.inspect_err(|_v| warn!("failed to open {}", path.display()))?;
Ok(Self { Ok(Self {
destination: BufWriter::with_capacity(1024 * 1024, destination), destination: BufWriter::with_capacity(1024 * 1024, destination),
hasher: Context::new(), hasher: Context::new(),
@ -122,7 +123,7 @@ impl<'a> DropDownloadPipeline<'a, Response, File> {
.source .source
.read(&mut copy_buffer[0..size]) .read(&mut copy_buffer[0..size])
.inspect_err(|_| { .inspect_err(|_| {
info!("got error from {}", drop.filename); warn!("got error from {}", drop.filename);
})?; })?;
remaining -= size; remaining -= size;
last_bump += size; last_bump += size;
@ -272,7 +273,12 @@ pub fn download_game_bucket(
#[cfg(unix)] #[cfg(unix)]
{ {
for drop in bucket.drops.iter() { for drop in bucket.drops.iter() {
let permissions = Permissions::from_mode(drop.permissions); let permission = if drop.permissions == 0 {
0o744
} else {
drop.permissions
};
let permissions = Permissions::from_mode(permission);
set_permissions(drop.path.clone(), permissions) set_permissions(drop.path.clone(), permissions)
.map_err(|e| ApplicationDownloadError::IoError(Arc::new(e)))?; .map_err(|e| ApplicationDownloadError::IoError(Arc::new(e)))?;
} }

View File

@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2.0.0", "$schema": "https://schema.tauri.app/config/2.0.0",
"productName": "Drop Desktop Client", "productName": "Drop Desktop Client",
"version": "0.3.3", "version": "0.3.4",
"identifier": "dev.drop.client", "identifier": "dev.drop.client",
"build": { "build": {
"beforeDevCommand": "yarn --cwd main dev --port 1432", "beforeDevCommand": "yarn --cwd main dev --port 1432",