Skip to content

Commit

Permalink
Release 2.0.9.9 fix #93
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Jan 10, 2021
1 parent 27ffc47 commit 869eea2
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.9.8
2.0.9.9
12 changes: 12 additions & 0 deletions data/com.usebottles.bottles.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@
<url type="bugtracker">https://github.com/bottlesdevs/Bottles/issues</url>
<url type="help">https://docs.usebottles.com</url>
<releases>
<release version="2.0.9.9" date="2020-01-10">
<description>
<p>News:</p>
<ul>
<li>Execute .bat files in your bottles</li>
</ul>
<p>Improvements:</p>
<ul>
<li>General UI improvements</li>
</ul>
</description>
</release>
<release version="2.0.9.8" date="2020-01-09">
<description>
<p>Bugfix:</p>
Expand Down
5 changes: 5 additions & 0 deletions src/pages/details.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,13 @@ def run_executable(self, widget):
filter_msi.set_name(".msi")
filter_msi.add_pattern("*.msi")

filter_bat = Gtk.FileFilter()
filter_bat.set_name(".bat")
filter_bat.add_pattern("*.bat")

file_dialog.add_filter(filter_exe)
file_dialog.add_filter(filter_msi)
file_dialog.add_filter(filter_bat)

response = file_dialog.run()

Expand Down
5 changes: 5 additions & 0 deletions src/pages/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,13 @@ def run_executable(self, widget):
filter_msi.set_name(".msi")
filter_msi.add_pattern("*.msi")

filter_bat = Gtk.FileFilter()
filter_bat.set_name(".bat")
filter_bat.add_pattern("*.bat")

file_dialog.add_filter(filter_exe)
file_dialog.add_filter(filter_msi)
file_dialog.add_filter(filter_bat)

response = file_dialog.run()

Expand Down
2 changes: 2 additions & 0 deletions src/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,8 @@ def run_executable(self, configuration:BottleConfig, file_path:str, arguments:st

if "msi" in file_path.split("."):
command = "msiexec /i '%s'" % file_path
elif "bat" in file_path.split("."):
command = "wineconsole cmd /c '%s'" % file_path
else:
command = "'%s'" % file_path

Expand Down
2 changes: 1 addition & 1 deletion src/ui/about.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<property name="window-position">center-on-parent</property>
<property name="type-hint">dialog</property>
<property name="program-name">Bottles</property>
<property name="version">2.0.9.8</property>
<property name="version">2.0.9.9</property>
<property name="copyright" translatable="yes">© 2017-2020 - Bottles Developers</property>
<property name="comments" translatable="yes">Easily manage wineprefix using environments</property>
<property name="website">https://usebottles.com</property>
Expand Down

0 comments on commit 869eea2

Please sign in to comment.