🔀 Merge from luolinlin768/feat-98 to youzi-2333/feat-98

This commit is contained in:
youzi-2333
2024-07-12 21:45:18 +08:00
2 changed files with 85 additions and 39 deletions
@@ -36,7 +36,7 @@
End Select
CardExport.TriggerForceResize()
End Sub
If GridModrinth IsNot Nothing Then GridModrinth.Visibility = Visibility.Visible
Private Sub BtnExportExport_Click() Handles BtnExportExport.Click
If IncludePCL() AndAlso Val(VersionBranchCode) <> 50 Then
If MyMsgBox("你当前的 PCL 不是正式版,有二次分发(制作压缩包)的限制。" & vbCrLf &
@@ -54,6 +54,11 @@
PCLSetupGlobal:=CheckExportGlobal.Checked, Name:=TbExportName.Text,
VerID:=TbExportVersion.Text))
End Sub
ModpackExport(New ExportOptions(CurrentVersion, savePath, Type, {TbExportSave.Text},
PCLSetupGlobal:=CheckExportGlobal.Checked,
PCLSetupVer:=CheckExportVersion.Checked, Name:=TbExportName.Text,
VerID:=TbExportVersion.Text))
End Sub
#End Region