Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/build_aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
francis2tm committed Feb 5, 2024
2 parents e4eef1e + 68470e6 commit a161b46
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
RUSTFLAGS: "--cfg tokio_unstable"
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "v__VERSION__"
Expand Down
6 changes: 1 addition & 5 deletions crates/edgen_server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,7 @@ fn serve(args: &cli::Serve) -> EdgenResult {

#[tokio::main]
async fn start_server(args: &cli::Serve) -> EdgenResult {
// The console is disabled in release builds, so there is no need to initialise this
#[cfg(debug_assertions)]
{
console_subscriber::init();
}
console_subscriber::init();

SETTINGS
.write()
Expand Down
5 changes: 3 additions & 2 deletions edgen/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ serde_json = "1.0"
tokio = { workspace = true, features = ["full", "tracing"] }
tracing = { workspace = true }
opener = "0.6.1"
edgen_server = { path = "../../crates/edgen_server"}
edgen_core = { path = "../../crates/edgen_core"}
edgen_server = { path = "../../crates/edgen_server" }
edgen_core = { path = "../../crates/edgen_core" }

[features]
no_gui = []
# this feature is used for production builds or when `devPath` points to the filesystem
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]
enable-windows-terminal = []
6 changes: 4 additions & 2 deletions edgen/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
* limitations under the License.
*/

// Tauri - prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![cfg_attr(
not(feature = "enable-windows-terminal"),
windows_subsystem = "windows"
)]

#[cfg(not(feature = "no_gui"))]
mod gui;
Expand Down

0 comments on commit a161b46

Please sign in to comment.