mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-01 19:51:28 +02:00
Check for RIFE script, cancel if not found
This commit is contained in:
@@ -156,6 +156,12 @@ namespace Flowframes
|
||||
args = $" --img {framesPath.Wrap()} --exp {(int)Math.Log(interpFactor, 2)}";
|
||||
}
|
||||
|
||||
if (!File.Exists(Path.Combine(rifeDir, script)))
|
||||
{
|
||||
Interpolate.Cancel("RIFE script not found! Make sure you didn't modify any files.");
|
||||
return;
|
||||
}
|
||||
|
||||
Process rifePy = OSUtils.NewProcess(!OSUtils.ShowHiddenCmd());
|
||||
AiStarted(rifePy, 3500);
|
||||
rifePy.StartInfo.Arguments = $"{OSUtils.GetCmdArg()} cd /D {PkgUtils.GetPkgFolder(Packages.rifeCuda).Wrap()} & " +
|
||||
|
||||
Reference in New Issue
Block a user