mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
I just needed node 20
This commit is contained in:
commit
b90ca8b170
5 changed files with 5 additions and 9 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -84,7 +84,9 @@ jobs:
|
|||
cp "$file" "release/equicordDesktop${filename^}"
|
||||
done
|
||||
|
||||
find release -size 0 -delete
|
||||
rm release/package.json
|
||||
rm release/*.map
|
||||
|
||||
- name: Upload Equicord
|
||||
if: github.repository == 'Equicord/Equicord'
|
||||
|
|
|
@ -23,7 +23,7 @@ import { existsSync, readdirSync } from "fs";
|
|||
import { readdir, rm, writeFile } from "fs/promises";
|
||||
import { join } from "path";
|
||||
|
||||
import { addBuild, BUILD_TIMESTAMP, buildOrWatchAll, commonOpts, exists, globPlugins, IS_DEV, IS_REPORTER, IS_STANDALONE, IS_UPDATER_DISABLED, resolvePluginName, VERSION, watch } from "@scripts/build/common.mts";
|
||||
import { addBuild, BUILD_TIMESTAMP, buildOrWatchAll, commonOpts, exists, globPlugins, IS_DEV, IS_REPORTER, IS_STANDALONE, IS_UPDATER_DISABLED, resolvePluginName, VERSION, watch } from "./common.mjs";
|
||||
|
||||
const defines = {
|
||||
IS_STANDALONE: String(IS_STANDALONE),
|
||||
|
|
|
@ -23,7 +23,7 @@ import { appendFile, mkdir, readdir, readFile, rm, writeFile } from "fs/promises
|
|||
import { join } from "path";
|
||||
import Zip from "zip-local";
|
||||
|
||||
import { addBuild, BUILD_TIMESTAMP, buildOrWatchAll, commonOpts, globPlugins, IS_DEV, IS_REPORTER, VERSION } from "./common.mts";
|
||||
import { addBuild, BUILD_TIMESTAMP, buildOrWatchAll, commonOpts, globPlugins, IS_DEV, IS_REPORTER, VERSION } from "./common.mjs";
|
||||
|
||||
/**
|
||||
* @type {esbuild.BuildOptions}
|
||||
|
|
|
@ -27,7 +27,7 @@ import { minify as minifyHtml } from "html-minifier-terser";
|
|||
import { join, relative } from "path";
|
||||
import { promisify } from "util";
|
||||
|
||||
import { getPluginTarget } from "../utils.mts";
|
||||
import { getPluginTarget } from "../utils.mjs";
|
||||
|
||||
const PackageJSON: typeof import("../../package.json") = JSON.parse(readFileSync("package.json", "utf-8"));
|
||||
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
"jsx": "preserve",
|
||||
"baseUrl": "./src/",
|
||||
"paths": {
|
||||
"@scripts/*": [
|
||||
"../scripts/*"
|
||||
],
|
||||
"@scripts/build/*": [
|
||||
"../scripts/build/*"
|
||||
],
|
||||
"@main/*": [
|
||||
"./main/*"
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue