Topic: Editing Plugin Scripts (updating testdisk/photorec)  (Read 249 times)

Editing Plugin Scripts (updating testdisk/photorec)
« on: November 06, 2019, 02:41:03 PM »

kalak_lanar

  • Apprentice
  • *
  • Date Registered: Nov 2019
  • Posts: 2
The testdisk & photorec plugin in the main plugin thread no longer builds. The URLs for the file have changed for the 7.1 version, as it's no longer a beta (aka Work in Progress WIP). So I'm trying to edit the script file in Notepad++ to drop the "WIP" from the download, or change the version to 7.2 (which is still a WIP). I wind up getting all kind of errors when building.

Which leads me to ask: Is there a way to edit a script in the "XPE Packed Plugin Creator" or something similar? If not, is it reasonable to edit the script in a text editor or is there way to much to figure out to do that? (Should I keep debugging the existing script, or start from scratch?)

Re: Editing Plugin Scripts (updating testdisk/photorec)
« Reply #1 on: November 06, 2019, 04:45:11 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
To Update - Edit existing Variables from 7.1 to 7.2
Code: [Select]
[Variables]
%ProgramTitle%=TestDisk
%ProgramExe%=testdisk_win.exe
%ProgramExex64%=testdisk_win.exe
%ProgramFolder%=testdisk-7.2-WIP
%SetupFile%=testdisk-7.2-WIP.win.zip
%SetupFilex64%=testdisk-7.2-WIP.win64.zip
%FileContainer%=%ScriptDir%\testdisk-7_XPE_File.Script
%SetupURL%=https://www.cgsecurity.org/testdisk-7.2-WIP.win.zip
%SetupURLx64%=https://www.cgsecurity.org/testdisk-7.2-WIP.win64.zip

To Use Existing v7.1 - Edit > Due to Name Change
Code: [Select]
[Variables]
%ProgramTitle%=TestDisk
%ProgramExe%=testdisk_win.exe
%ProgramExex64%=testdisk_win.exe
%ProgramFolder%=testdisk-7.1
%SetupFile%=testdisk-7.1.win.zip
%SetupFilex64%=testdisk-7.1.win64.zip
%FileContainer%=%ScriptDir%\testdisk-7_XPE_File.Script
%SetupURL%=https://www.cgsecurity.org/testdisk-7.1.win.zip
%SetupURLx64%=https://www.cgsecurity.org/testdisk-7.1.win64.zip

« Last Edit: November 06, 2019, 05:18:36 PM by James »

 

Powered by EzPortal