Skip to content

Commit

Permalink
Remove limited donation methods (#5290)
Browse files Browse the repository at this point in the history
* Remove instances to Monero and Liberapay

Liberapay references have been temporarily removed as we handle an account issue with Stripe. Monero references have been removed because it hampers our team's ability to ensure that all donations are being allocated to the development of FreeTube.

* Update README.md

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

---------

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
  • Loading branch information
1 parent c760f40 commit 621617c
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 28 deletions.
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,10 @@ If you ever have any questions, feel free to ask it on our [Discussions](https:/
> Don't forget to check out the [rules](https://docs.freetubeapp.io/community/matrix/) before joining.
## Donate
If you enjoy using FreeTube, you're welcome to leave a donation using the following methods.

* [FreeTube on Liberapay](https://liberapay.com/FreeTube)
If you enjoy using FreeTube, you're welcome to leave a donation using the following method.

* Bitcoin Address: `1Lih7Ho5gnxb1CwPD4o59ss78pwo2T91eS`

* Monero Address: `48WyAPdjwc6VokeXACxSZCFeKEXBiYPV6GjfvBsfg4CrUJ95LLCQSfpM9pvNKy5GE5H4hNaw99P8RZyzmaU9kb1pD7kzhCB`

While your donations are much appreciated, only donate if you really want to. Donations are used for keeping the website up and running and eventual code signing costs.

> [!TIP]
Expand Down
4 changes: 0 additions & 4 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ const SEARCH_CHAR_LIMIT = 100
// Displayed on the about page and used in the main.js file to only allow bitcoin URLs with this wallet address to be opened
const ABOUT_BITCOIN_ADDRESS = '1Lih7Ho5gnxb1CwPD4o59ss78pwo2T91eS'

// Displayed on the about page and used in the main.js file to only allow monero URLs with this wallet address to be opened
const ABOUT_MONERO_ADDRESS = '48WyAPdjwc6VokeXACxSZCFeKEXBiYPV6GjfvBsfg4CrUJ95LLCQSfpM9pvNKy5GE5H4hNaw99P8RZyzmaU9kb1pD7kzhCB'

export {
IpcChannels,
DBActions,
Expand All @@ -120,5 +117,4 @@ export {
PLAYLIST_HEIGHT_FORCE_LIST_THRESHOLD,
SEARCH_CHAR_LIMIT,
ABOUT_BITCOIN_ADDRESS,
ABOUT_MONERO_ADDRESS
}
4 changes: 1 addition & 3 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
DBActions,
SyncEvents,
ABOUT_BITCOIN_ADDRESS,
ABOUT_MONERO_ADDRESS
} from '../constants'
import * as baseHandlers from '../datastores/handlers/base'
import { extractExpiryTimestamp, ImageCache } from './ImageCache'
Expand Down Expand Up @@ -882,8 +881,7 @@ function runApp() {
parsedURL.protocol === 'tel:' ||

// Donation links on the about page
(parsedURL.protocol === 'bitcoin:' && parsedURL.pathname === ABOUT_BITCOIN_ADDRESS) ||
(parsedURL.protocol === 'monero:' && parsedURL.pathname === ABOUT_MONERO_ADDRESS)
(parsedURL.protocol === 'bitcoin:' && parsedURL.pathname === ABOUT_BITCOIN_ADDRESS)
) {
shell.openExternal(url)
return true
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ import {
faBitcoin,
faGithub,
faMastodon,
faMonero
} from '@fortawesome/free-brands-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import PortalVue from 'portal-vue'
Expand Down Expand Up @@ -198,7 +197,6 @@ library.add(
faGithub,
faBitcoin,
faMastodon,
faMonero
)

registerSwiper()
Expand Down
12 changes: 1 addition & 11 deletions src/renderer/views/About/About.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineComponent } from 'vue'
import FtCard from '../../components/ft-card/ft-card.vue'
import packageDetails from '../../../../package.json'
import { ABOUT_BITCOIN_ADDRESS, ABOUT_MONERO_ADDRESS } from '../../../constants'
import { ABOUT_BITCOIN_ADDRESS } from '../../../constants'
import FtLogoFull from '../../components/ft-logo-full/ft-logo-full.vue'

export default defineComponent({
Expand Down Expand Up @@ -69,20 +69,10 @@ export default defineComponent({
title: this.$t('About.Credits'),
content: `${this.$t('About.FreeTube is made possible by')} <a href="https://docs.freetubeapp.io/credits/">${this.$t('About.these people and projects')}</a>`
},
{
icon: ['fas', 'heart'],
title: `${this.$t('About.Donate')} - Liberapay`,
content: '<a href="https://liberapay.com/FreeTube">https://liberapay.com/FreeTube</a>'
},
{
icon: ['fab', 'bitcoin'],
title: `${this.$t('About.Donate')} - BTC`,
content: `<a href="bitcoin:${ABOUT_BITCOIN_ADDRESS}">${ABOUT_BITCOIN_ADDRESS}</a>`
},
{
icon: ['fab', 'monero'],
title: `${this.$t('About.Donate')} - XMR`,
content: `<a href="monero:${ABOUT_MONERO_ADDRESS}">${ABOUT_MONERO_ADDRESS}</a>`
}
],
}
Expand Down

0 comments on commit 621617c

Please sign in to comment.