1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 18:32:34 +01:00
lossless-cut/public/util.js
2023-04-09 00:11:38 +09:00

21 lines
375 B
JavaScript

const os = require('os');
const frontendBuildDir = 'vite-dist';
const platform = os.platform();
const arch = os.arch();
// todo dedupe between renderer and main
const isWindows = platform === 'win32';
const isMac = platform === 'darwin';
const isLinux = platform === 'linux';
module.exports = {
frontendBuildDir,
isWindows,
isMac,
isLinux,
platform,
arch,
};