Skip to content

Commit

Permalink
Release 0.8.0 (#27)
Browse files Browse the repository at this point in the history
* Add ja translations for new passive skills and condenser rank (#25)

* Add ja translation for new passive skills

* Add  ja translation for Condenser Rank

* change Japanese translation for more natural expression

* change translation for base camp pals

* add Japanese translation for GUI buttons

---------

Co-authored-by: KrisCris <[email protected]>

* Slightly refine UI translation

* Better wording for Computed Stats as suggested #25 (comment)

* idk what have changed but this makes it work again

* Update UI translation keys

* Make interactive cli optional, disabled by default

* Basic Path Picker

* slightly update docker

* refine path picker ui

* only save path picker result if ok is clicked & hint pal folder

* Try localStorage path before using the default

* Try Update GH Workflows

* enable interactive mode by default; disabled for docker container

* bump version 0.8.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Take-Me <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 26, 2024
1 parent 1c9200c commit 598a0a7
Show file tree
Hide file tree
Showing 260 changed files with 211,670 additions and 272 deletions.
14 changes: 14 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# These are supported funding model platforms

github: [KrisCris]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: connlost
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
44 changes: 44 additions & 0 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Dev Build

on:
push:
branches-ignore:
- release

jobs:
dev-release:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12.2
architecture: x64

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Run Windows Builder Script
if: runner.os == 'Windows'
shell: pwsh
run: ./build_executable.ps1

- name: Run Unix-like Builder Script
if: runner.os != 'Windows'
shell: bash
run: ./build_executable.sh

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Palworld_Pal_Editor_${{ matrix.os }}_artifact
path: ./dist/
54 changes: 54 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Release Build

on:
push:
branches:
- release
tags:
- "v*"

jobs:
dev-release:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12.2
architecture: x64

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Run Windows Builder Script
if: runner.os == 'Windows'
shell: pwsh
run: ./build_executable.ps1

- name: Run Unix-like Builder Script
if: runner.os != 'Windows'
shell: bash
run: ./build_executable.sh

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Palworld_Pal_Editor_${{ matrix.os }}_artifact
path: ./dist/

- name: Create and Upload Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44 changes: 44 additions & 0 deletions .github/workflows/release-ghcr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build and Push Docker image

on:
push:
branches:
- release
tags:
- "v*"

jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Lowercase repository owner
run: echo "REPO_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
push: true
tags: ghcr.io/${{ env.REPO_OWNER }}/palworld-pal-editor:latest
platforms: linux/amd64,linux/arm64

- name: Verify image digest
run: echo "The new image digest is ${{ steps.build-and-push.outputs.digest }}"
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
docker-compose.yml
._*
.DS_Store
venv/
logs/
gamesave/
gamesave*/
test_outputs/
unused_data/
src/palworld_pal_editor/webui/

#Byte-compiled / optimized / DLL files
__pycache__/
Expand Down Expand Up @@ -162,4 +167,7 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
#.idea/
frontend/palworld-pal-editor-webui/dev-dist/

config.json
44 changes: 39 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,51 @@
"version": "0.2.0",
"configurations": [
{
"name": "Python: Module - palworld_pal_editor",
"name": "Python: CLI",
"type": "debugpy",
"request": "launch",
"module": "palworld_pal_editor.save_manager",
"module": "palworld_pal_editor",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/src",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}/src"
"PYTHONPATH": "${workspaceFolder}"
},
"args": [
// Any arguments your script needs go here
"--mode=cli",
"--lang=zh-CN",
"--debug"
]
},
{
"name": "Python: GUI",
"type": "debugpy",
"request": "launch",
"module": "palworld_pal_editor",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}"
},
"args": [
"--mode=gui",
"--lang=zh-CN",
// "--debug"
]
},
{
"name": "Python: WEB",
"type": "debugpy",
"request": "launch",
"module": "palworld_pal_editor",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}"
},
"args": [
"--mode=web",
"--lang=zh-CN",
"--debug"
]
}
]
Expand Down
Loading

0 comments on commit 598a0a7

Please sign in to comment.