Skip to content

Commit

Permalink
Add README.md for macos
Browse files Browse the repository at this point in the history
- Fix build_package script to alert that program is not installed
  • Loading branch information
matuzalemmuller committed Jun 24, 2022
1 parent e296c08 commit 3aeb960
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dummy Files Creator

![Unit tests](https://github.com/matuzalemmuller/dummy-files-creator/actions/workflows/unit-tests.yml/badge.svg)
![Unit tests](https://github.com/matuzalemmuller/dummy-files-creator/actions/workflows/unit-tests.yml/badge.svg) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/cadec3608d3540b8b9b80fb0daec1b14)](https://www.codacy.com/gh/matuzalemmuller/dummy-files-creator/dashboard?utm_source=github.com&utm_medium=referral&utm_content=matuzalemmuller/dummy-files-creator&utm_campaign=Badge_Grade)

Application to generate dummy files with random content and different checksums. **File units are corresponding powers of 2<sup>10</sup> [(KiB, MiB, GiB)](https://en.wikipedia.org/wiki/Orders_of_magnitude_(data))**.

Expand Down Expand Up @@ -48,7 +48,7 @@ Download the latest executable from the [releases page](https://github.com/matuz

### macOS

Download the latest `.dmg` file from the [releases page](https://github.com/matuzalemmuller/dummy-files-creator/releases).
Download the latest `.app` file from the [releases page](https://github.com/matuzalemmuller/dummy-files-creator/releases).

* Currently, there are no `arm`-compatible packages due to the lack of devices to build the app. Contributions are welcome.

Expand Down
Binary file modified doc/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pkg/linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* A linux-based OS with dpkg or rpm-based package manager
* [Python 3.6 or later](https://www.python.org/downloads/release/python-360/) & [PyInstaller](https://pypi.org/project/pyinstaller/)
* The requirements at the root of the repository ([`requirements.txt`](../../requirements.txt))
* [Ruby 2.7](https://www.ruby-lang.org/en/) & [fpm](https://fpm.readthedocs.io/en/latest/index.html)

## Instructions
Expand Down
1 change: 1 addition & 0 deletions pkg/linux/build_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def is_program_installed(program_name: str):
if shutil.which(program_name):
print(f"{program_name} is installed")
return True
print(f"{program_name} not installed")

return False

Expand Down
9 changes: 9 additions & 0 deletions pkg/macos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Building the macOS app

## Prerequisites

* [Python 3.6 or later](https://www.python.org/downloads/release/python-360/) & [PyInstaller](https://pypi.org/project/pyinstaller/)

## Instructions

To build the `.app` file, run `pyinstaller --windowed macos.spec`.

0 comments on commit 3aeb960

Please sign in to comment.