a simple dotnet core program that allows you to track auctions on yahoo auctions japan, written in c#.
Find a file
2020-09-01 15:14:32 +10:00
.gitignore work on list entry handling stuff 2020-09-01 00:20:56 +10:00
BuypeebApp.cs i hope this actually goes somewhere and i don't abandon it a few days in 2020-08-29 02:04:37 +10:00
LICENSE forgot to add the license oops 2020-09-01 00:02:41 +10:00
MainWindow.cs you can press enter to send in the text :O 2020-09-01 00:34:31 +10:00
readme.md it took me several hours to figure out these install instructions and it turns out they're wrong anyway but i'm committing them here before replacing them with the actual instructions because of how long it took and ugh 2020-09-01 15:14:32 +10:00
ui.glade work on list entry handling stuff 2020-09-01 00:20:56 +10:00

Buypeeb

i figured, may as well try and learn c#

0uo

installing

you need mono and gtk sharp 3

installing on debian

the packages you'll need are mono-devel and gtk-sharp3, so:

sudo apt install mono-devel gtk-sharp3

installing on arch

sudo pacman -S mono gtk-sharp-3

installing on windows 10

  • first you need mono and msys2.
    • chocolatey: choco install mono msys2
    • otherwise: download and install mono from here, and don't install gtk#. then, install msys2 from here.
  • then, open msys2 and run pacman -Syu mingw-w64-x86_64-gtk3.
  • now you need gtk sharp 3, but you need the dotnet sdk to install it. download and install ".NET Core SDK" from this page.
  • add msys2's mingw bin folder (and mono's bin folder if required) to your $PATH:
    • open control panel
    • click "system and security"
    • click "system"
    • click "advanced system settings"
    • choose the "advanced" tab
    • click "environment variables..."
    • in the "system variables" box (the bottom one), find the variable named "Path", click it, then click the edit button
    • click "new"
    • type in the full path to your msys2 mingw bin folder. for me, this path was C:\tools\msys64\mingw64\bin, but it may be different for you.
    • if mono is not currently on your $PATH, you'll also need to add its bin folder here - for me, this path was C:\Program Files\Mono\bin.
    • click "ok"
  • open a new command prompt/powershell window to ensure environment variables get updated.
  • cd to the folder you downloaded buypeeb into.
  • run dotnet restore
  • mono's pkg-config is broken because they forgot to link against a few DLLs, which is just great, so you'll need to download this zip file, extract it, and copy the four dll files inside it to your mono bin path, which is probably C:\Program Files\Mono\bin.
  • fixing pkg-config will allow you to compile the project

compiling

linux

mcs -pkg:gtk-sharp-3.0 -resource:ui.glade *.cs

windows

dotnet build

running

linux

mono ./BuypeebApp.exe

windows

dotnet run