Skip to content

Commit

Permalink
Fix Android
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Dec 30, 2023
1 parent a51c0a6 commit b4fbaf3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ function dist_node_modules_css() {

function dist_ol_css() {
return gulp
.src("./node_modules/ol/ol.css", { base: "node_modules" })
.pipe(gulp.dest(DIST_DIR));
.src("./node_modules/ol/ol.css")
.pipe(gulp.dest(`${DIST_DIR}node_modules/ol`));
}

function dist_less() {
Expand Down
2 changes: 1 addition & 1 deletion src/css/tabs/gps.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'ol/ol.css';
@import '/node_modules/ol/ol.css';

#map {
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/main_cordova.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Betaflight configurator</title>
<link type="text/css" rel="stylesheet" href="./css/main_cordova.css"/>
<link type="text/css" rel="stylesheet" href="./node_modules/@fortawesome/fontawesome-free/css/all.css" media="all"/>
<link type="text/css" rel="stylesheet" href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" media="all"/>
</head>
<body>
<div id="headerbar">
Expand Down
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ function serveLocalesPlugin() {

export default defineConfig({
define: {
'__APP_VERSION__': JSON.stringify(pkg.version),
'__APP_PRODUCTNAME__': JSON.stringify(pkg.productName),
'__APP_REVISION__': JSON.stringify(commitHash),
__APP_VERSION__: JSON.stringify(pkg.version),
__APP_PRODUCTNAME__: JSON.stringify(pkg.productName),
__APP_REVISION__: JSON.stringify(commitHash),
},
test: {
// NOTE: this is a replacement location for karma tests.
Expand Down

0 comments on commit b4fbaf3

Please sign in to comment.