Download scripts/editor/Workbench/DayZ/ShowLog.c from FelonieZ/DayZ_Scripts: direct link, hf CLI and curl.
- Browser
- Download file 796 Bytes
-
https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/editor/Workbench/DayZ/ShowLog.c
- Command line
-
hf download hf://datasets/FelonieZ/DayZ_Scripts/scripts/editor/Workbench/DayZ/ShowLog.c
-
curl -L -o ShowLog.c https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/editor/Workbench/DayZ/ShowLog.c
796 Bytes
| [WorkbenchPluginAttribute("SVN ShowLog", "Just for testing", "ctrl+=", "", {"ScriptEditor"})] | |
| class SVNShowLogPlugin: WorkbenchPlugin | |
| { | |
| [Attribute("TortoiseProc /command:log /path:$path", "editbox")] | |
| string CommandLine; | |
| override void Run() | |
| { | |
| ScriptEditor mod = Workbench.GetModule("ScriptEditor"); | |
| if (mod) | |
| { | |
| string file; | |
| string absPath; | |
| if (mod.GetCurrentFile(file) && Workbench.GetAbsolutePath(file, absPath)) | |
| { | |
| string command = CommandLine; | |
| command.Replace("$path", absPath); | |
| Workbench.RunCmd(command); | |
| //Print( command ); | |
| //Print( absPath ); | |
| } | |
| } | |
| } | |
| override void Configure() | |
| { | |
| Workbench.ScriptDialog("Configure SVN ShowLog", "Usage: \n$path - will be replaced with file name", this); | |
| } | |
| [ButtonAttribute("OK")] | |
| void OkButton() {} | |
| } | |