Skip to content

Commit

Permalink
Relocate
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Nov 23, 2023
1 parent cc24e65 commit 7cdd361
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
wget -q https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
chmod +x appimage-builder-1.1.0-x86_64.AppImage
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --executable build/vpmr -i vpmr.svg
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --executable build/vpmr -i resource/vpmr.svg
./appimage-builder-1.1.0-x86_64.AppImage --appimage-extract-and-run --recipe AppImageBuilder.yml --skip-tests
chmod +x vpmr-${{ env.VPMR_VERSION }}-x86_64.AppImage
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pybind11_add_module(pyvpmr src/VPMR.cpp)
target_compile_definitions(pyvpmr PRIVATE PYVPMR)

if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_sources(${PROJECT_NAME} PRIVATE vpmr.rc)
target_sources(${PROJECT_NAME} PRIVATE resource/vpmr.rc)
if (MINGW)
target_compile_options(${PROJECT_NAME} PRIVATE "-Wa,-mbig-obj")
target_compile_options(pyvpmr PRIVATE "-Wa,-mbig-obj")
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ S =
Running time: 3 s.
```

![exp(-t^2/4)](example.png)
![exp(-t^2/4)](resource/example.png)

#### Arbitrary Kernel

Expand All @@ -182,7 +182,7 @@ echo "exp(-t*t/10)" > kernel.txt
./vpmr -n 60 -k kernel.txt -e 1e-12
```

![exp(-t^2/10)](arbitrary.png)
![exp(-t^2/10)](resource/arbitrary.png)

#### Visualisation

Expand Down
5 changes: 2 additions & 3 deletions Dockerfile β†’ resource/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ AppDir:\n\
app_info:\n\
id: io.github.tlcfem.vpmr\n\
name: vpmr\n\
icon: application-vnd.appimage\n\
version: 0.1.0\n\
icon: vpmr\n\
exec: usr/bin/vpmr\n\
exec_args: $@\n\
files:\n\
Expand Down Expand Up @@ -50,7 +49,7 @@ RUN chmod +x linuxdeploy-x86_64.AppImage
RUN wget -q https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
RUN chmod +x appimage-builder-1.1.0-x86_64.AppImage

RUN ./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --executable build/vpmr
RUN ./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --executable build/vpmr -i resource/vpmr.svg
RUN ./appimage-builder-1.1.0-x86_64.AppImage --appimage-extract-and-run --recipe AppImageBuilder.yml
RUN chmod +x vpmr-0.1.0-x86_64.AppImage
RUN ./vpmr-0.1.0-x86_64.AppImage --appimage-extract-and-run -h
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes

0 comments on commit 7cdd361

Please sign in to comment.