mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix argv handling for packaged mode (#52641)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52641 Changelog: [Internal] TSIA, missed this in D77591742 bypass-github-export-checks Reviewed By: huntie Differential Revision: D78413090 fbshipit-source-id: a02d604def172b531a89021496208171373ddd8c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
60efc757d9
commit
bbda71f2c8
@@ -28,7 +28,7 @@ if (version) {
|
||||
}
|
||||
|
||||
const gotTheLock = app.requestSingleInstanceLock({
|
||||
argv: process.argv.slice(2),
|
||||
argv: process.argv.slice(app.isPackaged ? 1 : 2),
|
||||
});
|
||||
|
||||
if (!gotTheLock) {
|
||||
|
||||
Reference in New Issue
Block a user