Skip to content

Commit

Permalink
Fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphiiko committed Dec 26, 2023
1 parent 11aad97 commit c130b8f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions scripts/steam/2-move-build-steam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
### DO NOT RUN MANUALLY

# Copy files to Win64 Depot folder
if [ -f src-core/target/release/OyasumiVR.exe ]; then
cp src-core/target/release/OyasumiVR.exe SteamSDK/sdk/tools/ContentBuilder/content/Win64/
cp src-core/target/release/flags.toml SteamSDK/sdk/tools/ContentBuilder/content/Win64/
cp src-core/target/release/openvr_api.dll SteamSDK/sdk/tools/ContentBuilder/content/Win64/
cp src-core/target/release/steam_api64.dll SteamSDK/sdk/tools/ContentBuilder/content/Win64/
cp -r src-core/target/release/resources/ SteamSDK/sdk/tools/ContentBuilder/content/Win64/
elif [ -f src-core/target/debug/OyasumiVR.exe ]; then
cp src-core/target/debug/OyasumiVR.exe SteamSDK/sdk/tools/ContentBuilder/content/Win64/
cp src-core/target/debug/flags.toml SteamSDK/sdk/tools/ContentBuilder/content/Win64/
cp src-core/target/debug/openvr_api.dll SteamSDK/sdk/tools/ContentBuilder/content/Win64/
cp src-core/target/debug/steam_api64.dll SteamSDK/sdk/tools/ContentBuilder/content/Win64/
cp -r src-core/target/debug/resources/ SteamSDK/sdk/tools/ContentBuilder/content/Win64/
fi
8 changes: 8 additions & 0 deletions scripts/steam/3-move-build-steam-cn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
### DO NOT RUN MANUALLY

# Copy files to Win64_CN Depot folder
if [ -f src-core/target/release/OyasumiVR.exe ]; then
cp src-core/target/release/OyasumiVR.exe SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
cp src-core/target/release/flags.toml SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
cp src-core/target/release/openvr_api.dll SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
cp src-core/target/release/steam_api64.dll SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
cp -r src-core/target/release/resources/ SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
elif [ -f src-core/target/debug/OyasumiVR.exe ]; then
cp src-core/target/debug/OyasumiVR.exe SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
cp src-core/target/debug/flags.toml SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
cp src-core/target/debug/openvr_api.dll SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
cp src-core/target/debug/steam_api64.dll SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
cp -r src-core/target/debug/resources/ SteamSDK/sdk/tools/ContentBuilder/content/Win64_CN/
fi
2 changes: 1 addition & 1 deletion src-core/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ fn configure_tauri_plugin_log() -> TauriPlugin<Wry> {
#[cfg(debug_assertions)]
const LOG_LEVEL: LevelFilter = LevelFilter::Info;
#[cfg(not(debug_assertions))]
const LOG_TARGETS: [LogTarget; 3] = [LogTarget::LogDir, LogTarget::Stdout];
const LOG_TARGETS: [LogTarget; 2] = [LogTarget::LogDir, LogTarget::Stdout];
#[cfg(not(debug_assertions))]
const LOG_LEVEL: LevelFilter = LevelFilter::Info;

Expand Down

0 comments on commit c130b8f

Please sign in to comment.