mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-21 18:02:35 +01:00
21 lines
375 B
JavaScript
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,
|
|
};
|