diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5a61394..a7040936 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,10 @@ name: Build-App -on: push +on: + push: + paths-ignore: + - README.md + - _site/* + - ".github/workflows/website.yml" jobs: build-linux: diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml new file mode 100644 index 00000000..86a584f6 --- /dev/null +++ b/.github/workflows/website.yml @@ -0,0 +1,41 @@ +name: Build-Website +on: push + +jobs: + build-site: + name: Build Website + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + submodules: true + - name: Fix permissions + run: | + chmod -c -R +rX "_site/" | while read line; do + echo "::warning title=Invalid file permissions automatically fixed::$line" + done + - name: Upload + uses: actions/upload-pages-artifact@v2 + +# Deploy job + deploy: + # Add a dependency to the build job + needs: build-site + + # Grant GITHUB_TOKEN the permissions required to make a Pages deployment + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appropriate source + + # Deploy to the github-pages environment + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + # Specify runner + deployment step + runs-on: ubuntu-latest + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action \ No newline at end of file diff --git a/README.md b/README.md index 688a5421..9ab8e7e5 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,11 @@ -# FatFileFinder C++ edition +# FatFileFinder ## Information This cross-platform app sweeps a folder or drive and displays the size of each item in the folder, to assist the user in cleaning their drive. This version is a rewrite of my [Windows-only version](https://github.com/Ravbug/FatFileFinder) in C++, using the [wxWidgets](https://www.wxwidgets.org) library for GUI. -Similar to [WinDirStat](https://windirstat.net/), but lighter, faster, and uses a background thread. +Similar to [WinDirStat](https://windirstat.net/), but lighter and faster. -## How to Install -1. Ensure your system meets the minimum requirements: - - macOS 10.15 or higher (I cannot support 10.14 or lower because of unsupported STL features, sorry!) - - Windows 10 or higher - - 64 bit linux with GTK+ (32 bit users must compile their own copy) -2. Download the executable from the [releases](https://github.com/Ravbug/FatFileFinderCPP/releases/latest) tab - - To download the latest beta build, visit the [Actions](https://github.com/Ravbug/FatFileFinderCPP/actions/workflows/build.yml) tab. -4. The program is a self-contained executable. Store it anywhere on your disk. -- Recommended locations: - - macOS: `/Applications` - - Windows: `\Program Files` - - Linux: `/usr/bin` -5. Run the program by double-clicking it. - -## How to Size a Folder -1. Click the folder button (📁) in the toolbar to choose a folder or drive. -2. The program will begin sizing the folder and updating the view. -3. To stop sizing early, press the 🛑 button at the bottom of the window. - -## Other Usage info -* Single click rows in the table to view their properties in the sidebar. Click a disclosure triangle to open a folder. -You can also use the up and down arrows to move the selection. Note that expanding a folder with a lot of immediate sub-items can take a moment. -* To refresh a folder, select it in the table and press the refresh button (🔁). The program will refresh the contents of that folder. -If you want to reload the root folder, you will have to re-size it using the 📁 button. -* To view an item in your system's file browser, select it in the view and press `Reveal in Explorer/Finder` in the sidebar. -* To copy the full path to an item, select it in the view and press `Copy Path` in the sidebar. - -Note: Clipboard is currently not available on macOS. The sidebar in the Windows version is different from that on macOS and Linux. -The Windows version currently does not support the emoji icons. - -## Screenshots -![Main Window](https://user-images.githubusercontent.com/22283943/74867349-84c94d80-5322-11ea-8e75-9539b45d889a.png) - -## Compiling it yourself +## Building Use CMake: ```sh mkdir -p build && cd build diff --git a/_site/favicon.png b/_site/favicon.png new file mode 100644 index 00000000..02f8f649 Binary files /dev/null and b/_site/favicon.png differ diff --git a/_site/index.html b/_site/index.html new file mode 100644 index 00000000..0ae250e9 --- /dev/null +++ b/_site/index.html @@ -0,0 +1,78 @@ + + FatFileFinder + + + + + + + + + + + + +

FatFileFinder

+

+ This cross-platform app sweeps a folder or drive and displays the size of each item in the folder, to assist the user in cleaning their drive. + Similar to WinDirStat but lighter and faster. +

+ + +

Usage

+

+

+

+ Note: The Windows version currently does not support the emoji icons. + +

Supported Platforms

+
    +
  1. + macOS 10.15 or higher +
  2. +
  3. + Windows 10 or higher +
  4. +
  5. + 64 bit linux x86_64 with GTK+ (Other configurations must compile their own copy) +
  6. +
+ +

Download

+

+ The program is a self-contained executable. Store it anywhere on your disk. Recommended locations: +

+

+ +

Source code

+ \ No newline at end of file diff --git a/_site/style.css b/_site/style.css new file mode 100644 index 00000000..71e3611d --- /dev/null +++ b/_site/style.css @@ -0,0 +1,20 @@ +*{ + font-family: system-ui + } + @media (prefers-color-scheme: dark) { + body{ + background-color: #323232; + color: white; + } + a{ + color: rgb(83, 158, 250) + } + } +pre{ + font-family: monospace; + overflow: scroll; +} +.heroimage{ + width: 100%; + max-width: 800px; +} \ No newline at end of file