Skip to content

Commit

Permalink
Changes for R2.1 patch release (#159)
Browse files Browse the repository at this point in the history
* iss: Remove icacls command from InitializeSetup()

* ci: Bump AI_PLUGIN_VERSION to v3.5.1-R2.1
  • Loading branch information
RyanMetcalfeInt8 committed May 3, 2024
1 parent 44aeb32 commit c27ee2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions tools/windows/audacity_ai_plugins.iss
Original file line number Diff line number Diff line change
Expand Up @@ -140,20 +140,8 @@ begin
end;
function InitializeSetup(): Boolean;
var
ResultCode: Integer;
TempDir: string;
begin
TempDir := ExpandConstant('{tmp}');
if not Exec('cmd.exe', '/C icacls "' + TempDir + '" /inheritance:r /grant administrators:F', '', SW_HIDE, ewWaitUntilTerminated, ResultCode) then
begin
MsgBox('Failed to set directory permissions. Error Code: ' + IntToStr(ResultCode), mbError, MB_OK);
Result := False;
end
else
begin
Result := True;
end;
Result := True;
SupportsAVX2 := IsProcessorFeaturePresent(PF_AVX2_INSTRUCTIONS_AVAILABLE);
if SupportsAVX2 then
Expand Down
2 changes: 1 addition & 1 deletion tools/windows/set_env.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set AUDACITY_BUILD_LEVEL=2
set AUDACITY_BUILD_CONFIG=RelWithDebInfo

:: The version that we will pass to inno setup as the app version.
set AI_PLUGIN_VERSION=v3.5.1-R2
set AI_PLUGIN_VERSION=v3.5.1-R2.1

set AI_PLUGIN_REPO_SOURCE_FOLDER=%bat_path%\..\..\
echo AI_PLUGIN_REPO_SOURCE_FOLDER=%AI_PLUGIN_REPO_SOURCE_FOLDER%
Expand Down

0 comments on commit c27ee2b

Please sign in to comment.