We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56c0376 commit 54c4786Copy full SHA for 54c4786
src/Assets/Scripts/AppStarter.cs
@@ -112,7 +112,15 @@ private void StartLinuxApplication()
112
113
DebugLogger.Log(string.Format("Found executable {0}", appFilePath));
114
115
- Chmod(appFilePath, "+x");
+ foreach (var fileName in _app.LocalMetaData.GetRegisteredEntries())
116
+ {
117
+ string filePath = _app.LocalDirectory.Path.PathCombine(fileName);
118
+
119
+ if (MagicBytes.IsLinuxExecutable(filePath))
120
121
+ Chmod(filePath, "+x");
122
+ }
123
124
125
var processStartInfo = new ProcessStartInfo
126
{
0 commit comments