Skip to content

Commit a104caf

Browse files
committed
✅ Updates for next release (v1.0.9)
* Updated PSADT and templates to v4.1.0 * Added 'Open with VS Code' to the project menu bar (#9) * Fixed the demo project with 7-Zip
1 parent f1d14da commit a104caf

File tree

242 files changed

+48047
-60489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+48047
-60489
lines changed

CHANGES.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
Version 1.0.8 (Preview 8, Current):
1+
Version 1.0.9 (Preview 9, Latest):
2+
* Updated PSADT and templates to v4.1.0
3+
* Added 'Open with VS Code' to the project menu bar (#9)
4+
* Fixed the demo project with 7-Zip
5+
6+
Version 1.0.8 (Preview 8):
27
* New Feature: WinGet Import
38

49
Version 1.0.7 (Preview 7):

Databases/PSADT.sqlite

0 Bytes
Binary file not shown.

DeploymentEditor.exe

1 KB
Binary file not shown.

DeploymentEditor.pb

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ Enumeration KeyboardShortcuts
148148
#MenuItem_ShowSupportFilesFolder
149149
#MenuItem_OpenWithISE
150150
#MenuItem_OpenWithNotepadPlusPlus
151+
#MenuItem_OpenWithVSCode
151152
#MenuItem_RunInstallation
152153
#MenuItem_RunInstallationSandbox
153154
#MenuItem_RunRemoteMachine
@@ -1950,8 +1951,8 @@ Procedure StartDeploymentWithPSADT(DeploymentType.s = "Install")
19501951
SilentSwitch = " -DeployMode Silent"
19511952
EndIf
19521953

1953-
;ShellExecute_(0, "RunAS", Chr(34)+Project_FolderPath+"\Invoke-AppDeployToolkit.exe"+Chr(34), "-DeploymentType '"+DeploymentType+"'"+SilentSwitch, Project_FolderPath, #SW_SHOWNORMAL)
1954-
RunProgram(Chr(34)+Project_FolderPath+"\Invoke-AppDeployToolkit.exe"+Chr(34), "-DeploymentType "+DeploymentType+SilentSwitch, Project_FolderPath)
1954+
ShellExecute_(0, "RunAS", Chr(34)+Project_FolderPath+"\Invoke-AppDeployToolkit.exe"+Chr(34), "-DeploymentType '"+DeploymentType+"'"+SilentSwitch, Project_FolderPath, #SW_SHOWNORMAL)
1955+
;RunProgram(Chr(34)+Project_FolderPath+"\Invoke-AppDeployToolkit.exe"+Chr(34), "-DeploymentType "+DeploymentType+SilentSwitch, Project_FolderPath)
19551956
EndProcedure
19561957

19571958
Procedure StartInstallation(EventType)
@@ -1982,6 +1983,10 @@ Procedure StartNotepadPlusPlus(EventType)
19821983
RunProgram("notepad++.exe", Chr(34) + Project_DeploymentFile + Chr(34), "")
19831984
EndProcedure
19841985

1986+
Procedure StartVSCode(EventType)
1987+
RunProgram("code", Chr(34) + Project_DeploymentFile + Chr(34), "")
1988+
EndProcedure
1989+
19851990
Procedure.s BuildScript(DeploymentType.s = "Installation")
19861991

19871992
Protected ScriptBuilder.s = ""
@@ -2459,6 +2464,7 @@ Repeat
24592464
Case #MenuItem_PSADT_OnlineDocumentation : ShowOnlineDocumentation(0)
24602465
Case #MenuItem_OpenWithISE : StartPowerShellEditor(0)
24612466
Case #MenuItem_OpenWithNotepadPlusPlus : StartNotepadPlusPlus(0)
2467+
Case #MenuItem_OpenWithVSCode : StartVSCode(0)
24622468
Case #MenuItem_ShowProjectFolder : ShowProjectFolder(0)
24632469
Case #MenuItem_ShowFilesFolder : ShowFilesFolder(0)
24642470
Case #MenuItem_ShowSupportFilesFolder : ShowSupportFilesFolder(0)
@@ -2556,7 +2562,8 @@ Repeat
25562562

25572563
Until Quit = #True
25582564
; IDE Options = PureBasic 6.21 (Windows - x64)
2559-
; CursorPosition = 3
2560-
; Folding = AAAAAAAAAAAAAAA5
2565+
; CursorPosition = 1953
2566+
; FirstLine = 316
2567+
; Folding = AAAAAAAAAAAYAAAw
25612568
; EnableXP
25622569
; DPIAware

DeploymentEditor.pbp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,32 @@
77
<section name="data">
88
<explorer view="C:\ProgramData\PureBasic\Examples\" pattern="0"/>
99
<log show="1"/>
10-
<lastopen date="2025-07-22 12:31" user="taski" host="TUGI-DESKTOP"/>
10+
<lastopen date="2025-08-16 18:03" user="taski" host="TUGI-DESKTOP"/>
1111
</section>
1212
<section name="files">
1313
<file name="DeploymentEditor.pb">
1414
<config load="0" scan="1" panel="1" warn="1" lastopen="1" sortindex="1" panelstate="+"/>
15-
<fingerprint md5="b3d3c500176852a2222159115f37df53"/>
15+
<fingerprint md5="eea6749c542519fa7d7a562d76041d28"/>
1616
</file>
17-
<file name="Forms\WinGetImportWindow.pbf">
17+
<file name="Forms\MainWindow.pbf">
1818
<config load="0" scan="1" panel="1" warn="1" lastopen="0" sortindex="999" panelstate="++"/>
19-
<fingerprint md5="1003fb7d636f8622be898b3bfdb93e25"/>
19+
<fingerprint md5="77dbcd0798a2eb79eace910bfac34e8b"/>
20+
</file>
21+
<file name="Forms\AboutWindow.pbf">
22+
<config load="0" scan="1" panel="1" warn="1" lastopen="1" sortindex="2" panelstate="++"/>
23+
<fingerprint md5="f9f956616fefaf64abab0554602f12fc"/>
2024
</file>
2125
<file name="CHANGES.txt">
2226
<config load="0" scan="0" panel="1" warn="1" lastopen="0" sortindex="999" panelstate="+"/>
23-
<fingerprint md5="e9ad034027e65182ecd6ed38cc0a147c"/>
27+
<fingerprint md5="7ae730d7ca770f6a7813fbf1931fbe55"/>
2428
</file>
25-
<file name="Forms\NewProjectWindow.pbf">
29+
<file name="Forms\WinGetImportWindow.pbf">
2630
<config load="0" scan="1" panel="1" warn="1" lastopen="0" sortindex="999" panelstate="++"/>
27-
<fingerprint md5="bef04c5b75ded2f841a8a62c20b0f1c6"/>
31+
<fingerprint md5="1003fb7d636f8622be898b3bfdb93e25"/>
2832
</file>
29-
<file name="Forms\MainWindow.pbf">
33+
<file name="Forms\NewProjectWindow.pbf">
3034
<config load="0" scan="1" panel="1" warn="1" lastopen="0" sortindex="999" panelstate="++"/>
31-
<fingerprint md5="0f69ab4683f93a1de9e21332462add0e"/>
35+
<fingerprint md5="bef04c5b75ded2f841a8a62c20b0f1c6"/>
3236
</file>
3337
<file name="Forms\RunRemoteWindow.pbf">
3438
<config load="0" scan="1" panel="1" warn="1" lastopen="0" sortindex="999" panelstate="++"/>
@@ -38,10 +42,6 @@
3842
<config load="0" scan="0" panel="1" warn="1" lastopen="0" sortindex="999" panelstate="+"/>
3943
<fingerprint md5="e62637ea8a114355b985fd86c9ffbd6e"/>
4044
</file>
41-
<file name="Forms\AboutWindow.pbf">
42-
<config load="0" scan="1" panel="1" warn="1" lastopen="0" sortindex="999" panelstate="++"/>
43-
<fingerprint md5="c20e36383d604e5b777e1e0ef5ee8fc9"/>
44-
</file>
4545
<file name="Forms\ProjectSettingsWindow.pbf">
4646
<config load="0" scan="1" panel="1" warn="1" lastopen="0" sortindex="999" panelstate="++"/>
4747
<fingerprint md5="9100b0a55ff56804d790931399882ee0"/>
@@ -75,10 +75,10 @@
7575
<options thread="1" xpskin="1" dpiaware="1" debug="1" optimizer="1"/>
7676
<icon enable="1">Icon.ico</icon>
7777
<versioninfo enable="1">
78-
<field0 value="1.0.8.0"/>
79-
<field1 value="1.0.8.0"/>
80-
<field4 value="1.0.8.0"/>
81-
<field5 value="1.0.8.0"/>
78+
<field0 value="1.0.9.0"/>
79+
<field1 value="1.0.9.0"/>
80+
<field4 value="1.0.9.0"/>
81+
<field5 value="1.0.9.0"/>
8282
</versioninfo>
8383
<constants>
8484
<constant value="DE_Version=&quot;Preview&quot;" enable="1"/>

Examples/CPU-Z.db

-44 KB
Binary file not shown.

Forms/AboutWindow.pbf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ Declare CloseAboutWindow(EventType)
2929
Declare ShowLicensing(EventType)
3030

3131
Procedure OpenAboutWindow(x = 0, y = 0, width = 600, height = 360)
32-
AboutWindow = OpenWindow(#PB_Any, x, y, width, height, "About Deployment Editor by TUGI.CH", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered)
32+
AboutWindow = OpenWindow(#PB_Any, x, y, width, height, "About Deployment Editor by TUGI.CH", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_ScreenCentered)
3333
Image_ApplicationIcon = ImageGadget(#PB_Any, 30, 30, 128, 128, ImageID(Img_AboutWindow_0))
3434
Text_Title = TextGadget(#PB_Any, 200, 60, 350, 50, "Deployment Editor")
3535
SetGadgetColor(Text_Title, #PB_Gadget_FrontColor,RGB(39,39,39))
3636
SetGadgetFont(Text_Title, FontID(#Font_AboutWindow_0))
3737
Text_AboutThisApp = TextGadget(#PB_Any, 200, 40, 100, 25, "About this app")
3838
SetGadgetFont(Text_AboutThisApp, FontID(#Font_AboutWindow_1))
39-
Text_Version = TextGadget(#PB_Any, 200, 110, 350, 25, "Version 1.0.8 (Preview 8)")
39+
Text_Version = TextGadget(#PB_Any, 200, 110, 350, 25, "Version 1.0.9 (Preview 9)")
4040
SetGadgetFont(Text_Version, FontID(#Font_AboutWindow_1))
4141
Text_Copyright = TextGadget(#PB_Any, 200, 140, 350, 25, "Copyright (c) 2025 Tugay Taskin - https://www.tugi.ch")
4242
Text_Description1 = TextGadget(#PB_Any, 200, 190, 350, 20, "Deployment Editor simplifies software packaging with")

Forms/MainWindow.pbf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Enumeration FormMenu
2424
#MenuItem_ShowSupportFilesFolder
2525
#MenuItem_OpenWithISE
2626
#MenuItem_OpenWithNotepadPlusPlus
27+
#MenuItem_OpenWithVSCode
2728
#MenuItem_RunInstallation
2829
#MenuItem_RunWindowsSandbox
2930
#MenuItem_RunOnRemoteMachine
@@ -84,7 +85,7 @@ Declare GenerateAndStartRepair(EventType)
8485
Declare SaveAction(EventType)
8586

8687
Procedure OpenMainWindow(x = 0, y = 0, width = 1400, height = 945)
87-
MainWindow = OpenWindow(#PB_Any, x, y, width, height, "Deployment Editor (Preview) - TUGI.CH", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_ScreenCentered | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget)
88+
MainWindow = OpenWindow(#PB_Any, x, y, width, height, "Deployment Editor (Preview) - TUGI.CH", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered)
8889
HideWindow(MainWindow, 1)
8990
AddKeyboardShortcut(MainWindow, #PB_Shortcut_Control | #PB_Shortcut_O, #MenuItem_Open)
9091
AddKeyboardShortcut(MainWindow, #PB_Shortcut_Control | #PB_Shortcut_S, #MenuItem_Save)
@@ -109,6 +110,7 @@ Procedure OpenMainWindow(x = 0, y = 0, width = 1400, height = 945)
109110
MenuBar()
110111
MenuItem(#MenuItem_OpenWithISE, "Open Deployment File with PS ISE")
111112
MenuItem(#MenuItem_OpenWithNotepadPlusPlus, "Open Deployment File with Notepad++")
113+
MenuItem(#MenuItem_OpenWithVSCode, "Open Deployment File with VS Code")
112114
MenuTitle("Run")
113115
MenuItem(#MenuItem_RunInstallation, "Run Installation" + Chr(9) + "F5")
114116
MenuItem(#MenuItem_RunWindowsSandbox, "Run Installation in Windows Sandbox")
@@ -264,6 +266,7 @@ Procedure MainWindow_Events(event)
264266
Case #MenuItem_ShowSupportFilesFolder
265267
Case #MenuItem_OpenWithISE
266268
Case #MenuItem_OpenWithNotepadPlusPlus
269+
Case #MenuItem_OpenWithVSCode
267270
Case #MenuItem_RunInstallation
268271
Case #MenuItem_RunWindowsSandbox
269272
Case #MenuItem_RunOnRemoteMachine

Scripts/PSADT.sqlite

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)