forked from GithubMirrors/cardconjurer
Address copyright
- Remove build action - Disable copyright/not for sale/cardconjurer
This commit is contained in:
43
.github/workflows/build.yml
vendored
43
.github/workflows/build.yml
vendored
@@ -1,43 +0,0 @@
|
||||
# credit: https://data-dive.com/multi-os-deployment-in-cloud-using-pyinstaller-and-github-actions
|
||||
name: Card Cojurer (server)
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
name: Build packages
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: macos-latest
|
||||
TARGET: macos
|
||||
OUTPUT_FILE: launcher
|
||||
- os: windows-latest
|
||||
TARGET: windows
|
||||
OUTPUT_FILE: launcher.exe
|
||||
- os: ubuntu-latest
|
||||
TARGET: linux
|
||||
OUTPUT_FILE: launcher
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
poetry install --no-interaction
|
||||
- name: Build with PyInstaller
|
||||
run: |
|
||||
poetry run pyinstaller launcher.spec
|
||||
- name: Upload artifact Windows
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: ./dist/${{ matrix.OUTPUT_FILE }}
|
||||
name: CC Server (${{ matrix.TARGET }})
|
@@ -632,6 +632,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div class='layer readable-background margin-bottom-larger'>
|
||||
<h1 class='center margin-bottom'>Share your cards</h1>
|
||||
<h4>
|
||||
@@ -805,6 +806,8 @@
|
||||
Whether you've encountered a bug, want to request a feature, or have some criticism to offer, I'd love to hear it! If there's anything you'd like to let me know, please don't hesitate to send me an email at <a href='mailto:cardconjurermtg@gmail.com' target='_blank'>cardconjurermtg@gmail.com</a>.
|
||||
</h4>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
<script defer src='/js/creator-23.js'></script>
|
||||
<script defer src='/js/frameSearch.js'></script>
|
||||
|
@@ -1703,7 +1703,11 @@ async function bottomInfoEdited() {
|
||||
card.infoArtist = document.querySelector('#info-artist').value;
|
||||
card.infoYear = document.querySelector('#info-year').value;
|
||||
for (var textObject of Object.entries(card.bottomInfo)) {
|
||||
await writeText(textObject[1], bottomInfoContext);
|
||||
if (["NOT FOR SALE", "Wizards of the Coast", "CardConjurer.com", "cardconjurer.com"].some(v => textObject[1].text.includes(v))) {
|
||||
continue;
|
||||
} else {
|
||||
await writeText(textObject[1], bottomInfoContext);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
drawCard();
|
||||
|
Reference in New Issue
Block a user