mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
WebApp: Disabling symlink if webapp is disabled
This commit is contained in:
parent
e93b48bc53
commit
c575f83061
@ -55,7 +55,7 @@
|
||||
<Exec WorkingDirectory="$(SpaRoot)" Command="npm run build:ssr -- --prod" Condition="'$(BuildServerSideRenderer)' == 'true'" />
|
||||
</Target>
|
||||
|
||||
<Target Name="SymlinkViews" AfterTargets="Build" Condition="$(Configuration) == 'Debug'">
|
||||
<Target Name="SymlinkViews" AfterTargets="Build" Condition="$(SkipWebApp)' != 'true' And $(Configuration) == 'Debug'">
|
||||
<Exec WorkingDirectory="$(ProjectDir)../Kyoo" Command="ln -fs '$(ProjectDir)' $(OutDir)" Condition="$(OS) == 'Unix'" />
|
||||
<Exec WorkingDirectory="$(ProjectDir)../Kyoo" Command="mklink /D '$(OutDir)$(ProjectName)' '$(ProjectDir)'" Condition="$(OS) != 'Unix'" />
|
||||
</Target>
|
||||
|
Loading…
x
Reference in New Issue
Block a user