mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 10:22:31 +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,
|
|
};
|