mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 18:32:34 +01:00
3bc407cabd
- upgarde execa - remove moment - pull ffmpeg/execa logic out into main process
19 lines
326 B
JavaScript
19 lines
326 B
JavaScript
const os = require('os');
|
|
|
|
const frontendBuildDir = 'vite-dist';
|
|
|
|
// todo dedupe between renderer and main
|
|
const platform = os.platform();
|
|
const arch = os.arch();
|
|
|
|
const isWindows = platform === 'win32';
|
|
const isMac = platform === 'darwin';
|
|
|
|
module.exports = {
|
|
frontendBuildDir,
|
|
isWindows,
|
|
isMac,
|
|
platform,
|
|
arch,
|
|
};
|