From 7b70e1c3fc9857e19aa68f33c39b5b7ea3bbb444 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Fri, 3 Apr 2020 18:00:08 +0800 Subject: [PATCH] improve check --- src/App.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index ff9f455..a45549a 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -105,6 +105,7 @@ const calcShouldShowKeyframes = (zoomedDuration) => (zoomedDuration != null && z const commonFormats = ['mov', 'mp4', 'matroska', 'mp3', 'ipod']; const isMasBuild = window.process.mas; +const isStoreBuild = isMasBuild || window.process.windowsStore; // TODO flex const topBarHeight = 32; @@ -1457,7 +1458,7 @@ const App = memo(() => { ), [AutoExportToggler, askBeforeClose, autoMerge, autoSaveProjectFile, customOutDir, invertCutSegments, keyframeCut, renderCaptureFormatButton, renderOutFmt, timecodeShowFrames, setOutputDir, onWheelTunerRequested, language]); useEffect(() => { - if (!isMasBuild) loadMifiLink().then(setMifiLink); + if (!isStoreBuild) loadMifiLink().then(setMifiLink); }, []); useEffect(() => {