30 Commits

Author SHA1 Message Date
Mason Shi
c984fd06c0 Merge pull request #48 from Mas0nShi/auto-analysis-dev
Auto analysis dev
2022-04-04 13:53:29 +08:00
Mason Shi
b8f870e55f Update manual.yml 2022-04-04 13:45:57 +08:00
Mason Shi
4d635ec11f Update manual.yml 2022-04-04 13:43:20 +08:00
Mason Shi
2d106c7e48 Update manual.yml 2022-04-04 13:42:01 +08:00
Mason Shi
8f070902e0 Update manual.yml 2022-04-04 13:39:22 +08:00
Mason Shi
f9bb673a51 Update manual.yml 2022-04-04 13:35:45 +08:00
Mason Shi
8ee3a91b18 Update manual.yml 2022-04-04 13:30:16 +08:00
Mason Shi
c262491d67 Merge pull request #47 from Mas0nShi/auto-analysis-dev
dev commits.
2022-04-04 13:27:21 +08:00
Mason Shi
2ff0a25c1f Update manual.yml 2022-04-04 13:26:57 +08:00
Mason Shi
785b3bcd49 Update manual.yml 2022-04-04 13:17:29 +08:00
Mason Shi
40a95424b0 Update manual.yml 2022-04-04 13:03:21 +08:00
Mason Shi
cd28ff03d9 Update manual.yml 2022-04-04 12:53:23 +08:00
Mason Shi
7aaba1739a Update manual.yml 2022-04-04 12:43:04 +08:00
Mason Shi
7d73c08257 Update manual.yml 2022-04-04 12:42:14 +08:00
Mason Shi
d2fd9f12bf Update manual.yml 2022-04-04 12:22:50 +08:00
Mason Shi
142367e963 Update manual.yml 2022-04-03 22:53:08 +08:00
Mason Shi
7e1916e8e9 Update manual.yml 2022-04-03 22:45:50 +08:00
Mason Shi
fe77785833 Update manual.yml 2022-04-03 22:37:38 +08:00
Mason Shi
53a9057a2c Update manual.yml 2022-04-03 22:34:17 +08:00
Mason Shi
1df0199b91 Update manual.yml 2022-04-03 22:08:37 +08:00
Mason Shi
9b298bc024 Update manual.yml 2022-04-03 22:03:10 +08:00
Mason Shi
029a4a344f Update manual.yml 2022-04-03 22:00:37 +08:00
Mason Shi
3e690f077d Update manual.yml 2022-04-03 21:59:50 +08:00
Mason Shi
5c518c7ab8 Update manual.yml 2022-04-03 21:58:21 +08:00
Mason Shi
fc578afd40 Update manual.yml 2022-04-03 21:56:07 +08:00
Mason Shi
4b3cfee43f Create manual.yml 2022-04-03 21:50:50 +08:00
Mason Shi
9369288989 Merge pull request #46 from Mas0nShi/auto-analysis-dev
Auto analysis dev
2022-04-03 21:50:34 +08:00
Mason Shi
d90f36ba80 Update README_CN.md 2022-03-30 21:17:28 +08:00
Mason Shi
6c5039c632 Update README.md 2022-03-30 21:16:50 +08:00
Mason Shi
f44e9355fb Update issue templates 2022-03-24 19:36:36 +08:00
4 changed files with 163 additions and 0 deletions

22
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,22 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
- OS: [e.g. Ubuntu]
- Version [e.g. 1.1.2]
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.

135
.github/workflows/manual.yml vendored Normal file
View File

@@ -0,0 +1,135 @@
# This is a basic workflow that is manually triggered
name: Manual workflow
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
schedule:
- cron: '23 21 * * 1'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
check_version:
name: check the latest version
# The type of runner that the job will run on
runs-on: ubuntu-20.04
outputs:
RELEASE_VERSION: ${{ steps.getLatestRelease.outputs.RELEASE_VERSION }}
LATEST_VERSION: ${{ steps.checkVersion.outputs.LATEST_VERSION }}
steps:
- name: Get Latest Release
id: getLatestRelease
uses: actions/github-script@v3.1.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const releaseResponse = await github.repos.getLatestRelease({
owner: 'Mas0nShi',
repo: 'typoraCracker',
})
const {
data: { tag_name: ver }
} = releaseResponse;
core.setOutput('RELEASE_VERSION', ver);
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: install dependencies
run: |
sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install innoextract -y
python3 -m pip install loguru
- name: Check Latest Version
id: checkVersion
run: |
python3 auto-analysis/check_version.py
output="$(cat auto-analysis/win/x64/LATEST_VERSION)"
echo "$output"
echo "::set-output name=LATEST_VERSION::$output"
create_release:
needs: check_version
runs-on: ubuntu-20.04
if: needs.check_version.outputs.RELEASE_VERSION != needs.check_version.outputs.LATEST_VERSION
steps:
- run: echo '${{ needs.check_version.outputs.LATEST_VERSION }}'
- name: Create Runner Release
uses: actions/create-release@v1
id: createRelease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: '${{ needs.check_version.outputs.LATEST_VERSION }}'
release_name: '${{ needs.check_version.outputs.LATEST_VERSION }}'
prerelease: false
patch_file:
needs: [check_version, create_release]
runs-on: ubuntu-20.04
if: needs.check_version.outputs.RELEASE_VERSION != needs.check_version.outputs.LATEST_VERSION
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: install dependencies
run: |
sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install innoextract cmake -y
python3 -m pip install r2pipe loguru
- name: build radare2
shell: bash
run: |
git clone https://github.com/radareorg/radare2
radare2/sys/install.sh
- name: patch version
run: |
python3 auto-analysis/patch.py
tar -zcvf auto-analysis/win/x64/build/typoraCracker.tar.gz auto-analysis/win/x64/build/*
- name: Check release version
id: checkReleaseVersion
uses: actions/github-script@v3.1.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
try {
const releaseVersion = '${{ needs.check_version.outputs.LATEST_VERSION }}'
const releaseResponse = await github.repos.getReleaseByTag({
owner: 'Mas0nShi',
repo: 'typoraCracker',
tag: releaseVersion
})
const {
data: { id: releaseId, html_url: htmlUrl, upload_url: uploadUrl }
} = releaseResponse;
core.setOutput('id', releaseId);
core.setOutput('html_url', htmlUrl);
core.setOutput('upload_url', uploadUrl);
core.setOutput('version', releaseVersion);
} catch (e) {
core.setFailed(e.message);
}
- name: Upload win x64 typora.py for typoraCracker
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/auto-analysis/win/x64/build/typoraCracker.tar.gz'
asset_name: 'typoraCracker-${{ needs.check_version.outputs.LATEST_VERSION }}-win-x64.tar.gz'
asset_content_type: application/x-tgz

View File

@@ -1,3 +1,6 @@
**typoraCracker STOPS MAINTENANCE NOW. [why](https://github.com/Mas0nShi/typoraCracker/issues/39#issuecomment-1083117056)?**
# typora Cracker
![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FMas0nShi%2FtyporaCracker.svg?type=shield)

View File

@@ -1,3 +1,6 @@
**typoraCracker 停止维护. [为什么](https://github.com/Mas0nShi/typoraCracker/issues/39#issuecomment-1083117056)**
# typora Cracker
一个typora的解包&解密,打包&加密工具