diff options
| author | Michael <[email protected]> | 2017-04-25 11:48:44 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-25 11:48:44 -0400 |
| commit | cd29d582d90e0a31a9b21661a813c789b82468cc (patch) | |
| tree | d7c85a52b1f88728c2bf444fe786ec8cea84cd2c /ShiftOS_TheReturn | |
| parent | d22957d2abb77f162ac5ef43a064a4ce056fc046 (diff) | |
| download | shiftos_thereturn-cd29d582d90e0a31a9b21661a813c789b82468cc.tar.gz shiftos_thereturn-cd29d582d90e0a31a9b21661a813c789b82468cc.tar.bz2 shiftos_thereturn-cd29d582d90e0a31a9b21661a813c789b82468cc.zip | |
appscape fixes + video player
Diffstat (limited to 'ShiftOS_TheReturn')
| -rw-r--r-- | ShiftOS_TheReturn/Paths.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/Paths.cs b/ShiftOS_TheReturn/Paths.cs index a84271b..10fd7d7 100644 --- a/ShiftOS_TheReturn/Paths.cs +++ b/ShiftOS_TheReturn/Paths.cs @@ -208,7 +208,8 @@ namespace ShiftOS.Engine foreach (var file in System.IO.Directory.GetFiles(folder)) { string mfsDir = file.Replace(SharedFolder, $"{mount}:").Replace("\\", "/"); - WriteAllBytes(mfsDir, System.IO.File.ReadAllBytes(file)); + if (!FileExists(mfsDir)) + WriteAllBytes(mfsDir, System.IO.File.ReadAllBytes(file)); } foreach (var directory in System.IO.Directory.GetDirectories(folder)) { |
