Skip to content

Commit

Permalink
Disable script by default ( to avoid python crashes )
Browse files Browse the repository at this point in the history
Remove update button on package manager ( has no effect if package was loaded )
  • Loading branch information
skadefro committed Jul 7, 2024
1 parent ad9027b commit 34352ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OpenRPA/OpenRPA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Description>Base UI of OpenRPA, used as part of OpenRPA robot</Description>
<PackageLicenseExpression>MPL-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/open-rpa/openrpa</PackageProjectUrl>
<Version>1.4.57.6</Version>
<Version>1.4.57.7</Version>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageIcon>openrpa.png</PackageIcon>
<Configurations>Debug;Release;ReleaseNuget;PrepInstaller</Configurations>
Expand Down
4 changes: 2 additions & 2 deletions OpenRPA/Views/PackageManager.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@
Height="20" Margin="5,0" VerticalAlignment="Center"
SelectedValue="{Binding ElementName=listPackageSourceItems, Path=SelectedValue.SelectedVersion, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
</ComboBox>
<Button Content="{x:Static or:strings.update}" Grid.Row="2" Grid.Column="2" Height="20" Margin="5,0" HorizontalAlignment="Stretch"
<!--<Button Content="{x:Static or:strings.update}" Grid.Row="2" Grid.Column="2" Height="20" Margin="5,0" HorizontalAlignment="Stretch"
Visibility="{Binding ElementName=listPackageSourceItems, Path=SelectedValue.IsInstalled,Mode=OneWay, Converter={StaticResource BoolVisibilityConverter}}"
Command="{Binding Data.InstallCommand, Source={StaticResource proxy}}" CommandParameter="{Binding ElementName=listPackageSourceItems, Path=SelectedValue}" />
Command="{Binding Data.InstallCommand, Source={StaticResource proxy}}" CommandParameter="{Binding ElementName=listPackageSourceItems, Path=SelectedValue}" />-->
<Button Content="{x:Static or:strings.install}" Grid.Row="2" Grid.Column="2" Height="20" Margin="5,0" HorizontalAlignment="Stretch"
Visibility="{Binding ElementName=listPackageSourceItems, Path=SelectedValue.IsInstalled,Mode=OneWay, Converter={StaticResource BoolNotVisibilityConverter}}"
IsEnabled="{Binding ElementName=listPackageSourceItems, Path=SelectedValue.CanInstall,Mode=OneWay}"
Expand Down

0 comments on commit 34352ed

Please sign in to comment.