Skip to content

Commit

Permalink
fix: some build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanzyTHEbar committed Mar 10, 2023
1 parent 5f050f8 commit c1afc37
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.x]
node-version: [16.x]
platform: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
npm install -g typescript
- name: Build the App
run: yarn install --frozen-lockfile
run: yarn install

- uses: JonasKruckenberg/[email protected]
id: tauri_build
Expand Down
6 changes: 0 additions & 6 deletions GUI/ETVR/src-tauri/src/modules/m_dnsquery/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
//! A mdns query client.

#![allow(dead_code, unused_imports, unused_variables)]
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]

use log::{error, info};
use mdns_sd::{ServiceDaemon, ServiceEvent};
use serde::{Deserialize, Serialize};
Expand Down
6 changes: 0 additions & 6 deletions GUI/ETVR/src-tauri/src/modules/rest_client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/* #![allow(dead_code, unused_imports, unused_variables) ]*/
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]

use crate::modules::m_dnsquery;
use log::{debug, error, info, warn};
use reqwest::Client;
Expand Down
2 changes: 1 addition & 1 deletion GUI/ETVR/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineConfig({
},
build: {
// Tauri supports es2021
target: ['es2021', 'chrome100', 'safari13', 'esnext'],
target: ['es2021', 'esnext'],
// don't minify for debug builds
minify: !process.env.TAURI_DEBUG ? 'esbuild' : false,
// produce sourcemaps for debug builds
Expand Down

0 comments on commit c1afc37

Please sign in to comment.