Address copyright

- Remove build action
- Disable copyright/not for sale/cardconjurer
This commit is contained in:
MrTeferi
2022-11-23 15:13:24 -06:00
parent 951445188c
commit 952b1f642c
3 changed files with 8 additions and 44 deletions

View File

@@ -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 }})

View File

@@ -632,6 +632,7 @@
</div> </div>
</div> </div>
</div> </div>
<!--
<div class='layer readable-background margin-bottom-larger'> <div class='layer readable-background margin-bottom-larger'>
<h1 class='center margin-bottom'>Share your cards</h1> <h1 class='center margin-bottom'>Share your cards</h1>
<h4> <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>. 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> </h4>
</div> </div>
-->
</div> </div>
<script defer src='/js/creator-23.js'></script> <script defer src='/js/creator-23.js'></script>
<script defer src='/js/frameSearch.js'></script> <script defer src='/js/frameSearch.js'></script>

View File

@@ -1703,7 +1703,11 @@ async function bottomInfoEdited() {
card.infoArtist = document.querySelector('#info-artist').value; card.infoArtist = document.querySelector('#info-artist').value;
card.infoYear = document.querySelector('#info-year').value; card.infoYear = document.querySelector('#info-year').value;
for (var textObject of Object.entries(card.bottomInfo)) { for (var textObject of Object.entries(card.bottomInfo)) {
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); await writeText(textObject[1], bottomInfoContext);
}
continue; continue;
} }
drawCard(); drawCard();